logo separator

[mkgmap-dev] regular expression help needed

From lig fietser ligfietser at hotmail.com on Wed Dec 6 13:55:38 GMT 2017

Ah, already found out this syntax contained too many spaces 😉

barrier=* & barrier ~ '(lift_gate|toll_booth|border_control|swing_gate|log)' [0x3201 resolution 23]


This one works. Dont know if mkgmap ignored those spaces before though.


________________________________
Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> namens lig fietser <ligfietser at hotmail.com>
Verzonden: woensdag 6 december 2017 05:43:40
Aan: mkgmap-dev
Onderwerp: [mkgmap-dev] regular expression help needed


Hi,

I have noticed that this notation seems not to work anymore (I'm sure it worked before):


barrier=* & barrier ~ '(lift_gate | toll_booth | border_control | swing_gate | log)' [0x3201 resolution 23]


I have a lot like those lines in my style sheets and I dont know why pois like barrier=swing_gate is not catched by the line above anymore?


When I add barrier=swing_gate [0x3201 resolution 23] it works as expected.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20171206/bf822ce4/attachment-0001.html>


More information about the mkgmap-dev mailing list