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@lists.mkgmap.org.uk> namens lig fietser <ligfietser@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.