[Tagging] Wiki Edit War on using/avoiding semicolon lists

Jo winfixit at gmail.com
Fri Jan 23 23:18:41 UTC 2015


It supports the 'java' flavour. It took me a while to figure out how to
work with those ;-delimited strings, but once I found this regex worked for
my purposes:

route_ref="(^|.+;)26(;.+|$)" inview odbl=new

I never looked back. As for Nikita's question about how to find an item
which is not in the semi-colon delimited list, the answer is: you don't
find it. That object is not part of the result set. Maybe he meant how to
find out that an item is missing from the list? Well I don't see how that
becomes any easier by moving the values over to the keys. And apparently
coming up with regexes that can work with that, is even more 'complex'.

Anyway, you don't have to be a programmer to find such solutions with
'complicated' regexes. Just do a Google search and you'll probably stumble
upon some wiki page I created where I documented the whole process.

Cheers,

Polyglot

PS: deleted the stuff under the 3 dots, thereby almost losing the message,
as backspace seems to instruct Firefox to go back one page.

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20150124/a15da555/attachment.html>


More information about the Tagging mailing list