Changes between Version 1 and Version 2 of Ticket #17607, comment 11


Ignore:
Timestamp:
2021-06-04T10:58:34+02:00 (5 years ago)
Author:
reichg

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17607, comment 11

    v1 v2  
    22> A dot `.` is the expression for everything, e.g. `[/^construction:.*$/]` should do the trick, see [https://docs.oracle.com/javase/tutorial/essential/regex/pre_char_classes.html]
    33
    4 Wait I thought * was the selection syntax for selecting ALL, kind of like how it is used in SQL? I see a lot of "*" used in this combinarions.mapcss as if it stands for ALL osm features (node, way, and relation?) as a prefix to each rule.
    5 
    6 Like instead of saying way[tag], node[tag], relation[tag you could use *[tag]. That mean I can do .[tag] according to "." being the ALL selector?
     4Yeah I just meant I couldn't get any of the following mapcss rules to be picked up by the validator. Does the * out front indicate all OSM features (node, way, relation)? IF so, I tried giving a way the {{{construction:highway}}} tag without a building AND construction tag but nothing showed up in the validator. I tried the alternatives {{{/^construction:highway$/}}}, {{{"construction:highway"}}} but still couldn't get the validator to pick up the construction:highway tag.
     5{{{
     6*[construction:building][!building][!construction],
     7*[construction:highway][!highway][!construction],
     8*[construction:railway][!railway][!construction],
     9*[construction:landuse][!landuse][!construction]
     10}}}