Changes between Version 108 and Version 109 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2016-02-23T20:20:38+01:00 (10 years ago)
Author:
Klumbumbus
Comment:

add example from #12549

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v108 v109  
    310310{{{
    311311#!mapcss
    312 node[name $= "mypostfix"]                    /* value ends with 'mypostfix' */
     312node[name $= "mypostfix"]                   /* value ends with 'mypostfix' */
    313313}}}
    314314}}}
     
    323323{{{
    324324#!mapcss
    325 node[name *= "my substring"]                  /* value contains the substring 'my substring' */
     325node[name *= "my substring"]                 /* value contains the substring 'my substring' */
    326326}}}
    327327}}}
     
    355355}}}
    356356Case-insensitive matching can be enabled via the embedded flag expression `(?i)` (see [http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#CASE_INSENSITIVE Pattern.CASE_INSENSITIVE]).
     357{{{
     358#!mapcss
     359[name =~ /^(?U)(\p{Lower})+$/]               /* name consists of only lower case unicode characters */                 
     360}}}
    357361}}}
    358362|-------------------------------------------------------------------------------