[mkgmap-dev] Bug in subst
From Steve Ratcliffe steve at parabola.me.uk on Wed May 28 22:14:38 BST 2014
Hi > name=* & highway=* {set name='${name|subst:^(Doctor|Dokter) ~>Dr }'} The attached patch makes this possible, and the pre-built jar here: http://files.mkgmap.org.uk/download/212/mkgmap.jar The line must be written with a quoted argument: name=* & highway=* {set name='${name|subst:"^(Doctor|Dokter) ~>Dr "}'} You must use the opposite kind of quote to the surrounding quotes. I will tidy the patch up later. ..Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: filter_args_quoted.patch Type: text/x-patch Size: 6560 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140528/6252839e/attachment-0001.bin>
- Previous message: [mkgmap-dev] Bug in subst
- Next message: [mkgmap-dev] Bug in subst
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list