[josm-dev] regular expression for Filtering a Node-tag with brackets
Simon Legner
simon.legner at gmail.com
Mon May 11 19:32:29 UTC 2015
Hi!
On Monday 11 May 2015 12:54:22 Möller, Matthias wrote:
> So it seems the brackes and my filterexpression seem to be the problem. But
> I check with reg-exp solver and my expression semms to be fine.
>
> Is there another trick for JOSM?
First note that for need to quote the name since it contains spaces:
> name="Berlin, Stuthirtenweg (1)"
Otherwise, it is considered as
> (name=Berlin,) Stuthirtenweg (1)
Secondly, you need two backslashes each for quoting the parenthesis:
> name="Berlin, Stuthirtenweg \\(1\\)"
Since the backslashes is used as escape character.
Cheers,
Simon
More information about the josm-dev
mailing list