Changes between Initial Version and Version 1 of Ticket #10323


Ignore:
Timestamp:
2014-07-29T09:08:43+02:00 (10 years ago)
Author:
plepe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10323 – Description

    initial v1  
    33Anyway. I think this doesn't even really make sense, especially for the regexp_match() function, which returns the matched substring as 0th element of the array (which will always be the whole string).
    44
    5 Also, it contradicts the regexp condition selector: node[shop=~/market/] matches "supermarket" as well as "marketplace".
     5Also, it contradicts the regexp condition selector: `node[shop=~/market/]` matches "supermarket" as well as "marketplace".
    66
    7 I would suggest to change regexp_test() and regexp_match() to match substring of the input string. You can always add ^ and $ to match the whole string. If this is not possible, maybe it would be possible to add a flag?
     7I would suggest to change regexp_test() and regexp_match() to match substring of the input string. You can always add `^` and `$` to match the whole string. If this is not possible, maybe it would be possible to add a flag?