logo separator

[mkgmap-dev] Bug in subst

From Colin Smale colin.smale at xs4all.nl on Thu May 29 11:37:10 BST 2014

 

Hi Steve, 

I just tested it and it seems to be working fine. Thanks very much
indeed for the quick service! 

Best regards, 

Colin 

On 2014-05-28 23:14, Steve Ratcliffe wrote: 

> 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 [1]
> 
> 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
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev [2]
 

Links:
------
[1] http://files.mkgmap.org.uk/download/212/mkgmap.jar
[2] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140529/ec4e0ecb/attachment.html>


More information about the mkgmap-dev mailing list