[Mapcss] Regexp as attribute selection
Chris Browet
cbro at semperpax.com
Sun Jul 18 21:02:06 BST 2010
In the doc, it is described that regexp attribute selection is allowed
("way[highway=~/primary/] /* regex */").
While it is inherently nice, the problem is that there is almost as many
regexp syntaxes as there are implementations.
At least, the syntax used should be defined (is the example perl?) but I
doubt it will be practical to implement a specific syntax for MapCSS in
every programming language (not even speaking of those not having builtin
support).
Shouldn't it be wise to remove this from the spec and replace it by simpler
cardinals ('*', '?' and maybe others)?
- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/mapcss/attachments/20100718/a9710d14/attachment.html>
More information about the Mapcss
mailing list