Hi!

Is it possible to use regular expression within eval? I'm trying to
use the following:
   eval((tag("key")=~/regexp/)?"x":"y");
This doesn't seem to work. If I try instead an exact match like
   eval((tag("key")="z")?"x":"y");
I get a result.

If I use the regular expression as condition selector it works. As
soon as I put it into an eval it doesn't.

Any hints?

regards,
Martin

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to