Re: [mkgmap-dev] how to replace false tracktype keys in style file?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, what about: \w*[1-5] some alphanumeric characters and then one number between 1 and 5. Henning -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTgIbkAAoJEKXggIeC16WPBqQH/jQJ32R4hyJt98DFuSQeR/RM XX2J4c20VmRJfIRhhrS+T1MiWEP2q/sleeGY/sls5/K7pcZbdffMbhv14wnGWO5t O7MY2sO+8J1mE3LEdTvUlkvZWMnurpkv6gJqbEQqfsqj3cRJH0Xy39HKWyL8jAB8 mtTvOFG5aDsglUhetGRNe61sIHKczTkQIBwTjtAzNq2o5jtNTaVGAlnYB+ikI//s kRaRW/a8j8tSUFY64oSbdDsAMKVq13NLXlgJYbsNtye44NyynoimMEYUFh6kYtGc qCNUyohYk40uqtXFcXef9d6mn7RsFyBgt0yV/iWosobYhWq2awc/l9tn36f7IFQ= =Xn/3 -END PGP SIGNATURE- ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] how to replace false tracktype keys in style file?
Hi Henning, Can you give an example for such rule in the style file, my knowledge of regexp is very limited ;-) How can you check if the tags are valid, like grade[1-5] is ok, and the rest is not ok? And can you automatically convert 1 to grade1 etc in one line, without having to type all the rules line by line? Henning wrote > Hi, > what about: \w*[1-5] > > some alphanumeric characters and then one number between 1 and 5. > > Henning ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev