Am 03.11.2013 13:23, schrieb Steve Ratcliffe:
> On 02/11/13 10:01, chris66 wrote:
>> would it be a problem to make it work also with the quotes?
>>
>> To make it consistent with the existing usage.
> 
> After some thought I would rather not do that. In tag matches,
> the quotes remove the special meaning of special characters and
> I would like to preserve that.
> 
> Also there is a big difference; it is not a string containing tag
> values and so something like: '${name} (${ref})' would not work, nor
> do any of the variable filters work.
> 
> We could use a different notation such as get_tag(maxspeed) since it
> would be clearer that it could not be quoted.
> 
> I could add a warning if a quoted string starts with "${" as
> that is unlikely to be intentional.

A warning is ok for me.

Thanks for the explanation.

Chris


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to