Changes between Version 40 and Version 41 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2014-02-03T15:46:36+01:00 (12 years ago)
Author:
imagic
Comment:

Added replace to the eval expressions

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v40 v41  
    887887 regexp_match(regexp, string, flags)::
    888888  Tries to match ''string'' against pattern ''regexp''. Returns a list of capture groups in case of success. The first element (index 0) is the complete match (i.e. ''string''). Further elements correspond to the bracketed parts of the regular expression. Flags is a string that may contain "i" (case insensitive), "m" (multiline) and "s" ("dot all") [''since 5701'']
     889 replace(string, old, new)::
     890   Replaces any occurrence of the substring ''old'' within the string ''string'' with the text ''new''
    889891 osm_id()::
    890892  returns the OSM id of the current object [''since 5699'']