Hello I am trying to use a query for retrieving wrong ( abbreviated ) values in keys, for example: places of worship which names beginning with "S." this is the query
This returns ALL the features beginning whith "S", backslash before the dot seems not to work. Where am I wrong? Thank You asked 16 Feb '13, 17:53 gpstracks |
In Overpass QL you need to escape backslashes: ["name"~"^S\."] results in the regular expression ^S. (which finds every name starting with "S"). By contrast, ["name"~"^S\\."] produces the most likely ment regular expression ^S\. (which finds every name starting with "S."). answered 18 Feb '13, 08:23 Roland Olbricht |