Changes between Initial Version and Version 1 of Ticket #18301
- Timestamp:
- 2019-11-06T22:36:04+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18301 – Description
initial v1 3 3 4 4 MapCSS rule select all objects with value containing pKey=xxxxx 5 {{{ 6 #!mapcss 5 7 *[mapillary][mapillary!~/^[a-zA-Z0-9_-]{22}$/][mapillary=~/**pKey=[a-zA-Z0-9_-]{22}**/] { 8 }}} 6 9 7 10 Same regex don't match 11 {{{ 12 #!mapcss 8 13 regexp_match("**pKey=([a-zA-Z0-9_-]{22}**)", tag("mapillary")) 14 }}} 9 15 10 16 But this one, yes 17 {{{ 18 #!mapcss 11 19 regexp_match("**.*pKey=([a-zA-Z0-9_-]{22}).***", tag("mapillary")) 20 }}} 12 21 13 22 This like if regexp_match don't have the Perl regex flag **g**.


