logo separator

[mkgmap-dev] Patch to allow a style rule to consist of just a regular expression.

From Steve Ratcliffe steve at parabola.me.uk on Tue Jun 5 18:47:56 BST 2012

Hi

During the conversation with Kay earlier I realised that it is
easily possible to make rules with only complex expressions work.

Currently a rule such as the following would give an error:

   tagname ~ 'blue.*' [ 0x1 ...]
   tagname < 10       [ 0x1 ...]

They can be converted automatically to a form that will work eg:

   tagname=* & tagname~'blue.*' [ 0x1 ...]

The attached patch does this.

..Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regex_etc_at_top_level.patch
Type: text/x-patch
Size: 3133 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120605/43835a38/attachment.bin 


More information about the mkgmap-dev mailing list