One of these days I’ll have that “aha” moment with regex…
I would expect this
way[name~"[A-Z ]+"]({{bbox}});
to give me any way that has a name with ALL CAPITAL LETTERS. It seems to be returning ways with any capital letters though.
Can someone help me out with a better query?
maro21
#2
It actually means “name contains a capital letter or a space”.
You should change it to
name~"^[A-Z ]+$"
Thank you. That worked great. Made some quick work out of fixing some bad names real quick.
maro21
#4
Thanks. I used it to do a download in JOSM. I could set slippy map to a large area and just download the exceptions and fix them. Thanks!