2010/7/19 Richard Fairhurst <[email protected]>:
> Chris Browet wrote:
>>
>> 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).

I strongly oppose dropping regexes from spec.
I can't imagine, where will you use * placeholder in wild life (except
for [foo=*] which is just [foo]). Same for ?.
If you can't support regexes in your renderer, just don't do it.

-- 
Komяpa aka Darafei Praliaskouski
xmpp:[email protected] mailto:[email protected]

_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss

Reply via email to