[mkgmap-dev] upper and lower case
From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Jul 25 07:15:49 BST 2017
Hi Mike, I have no idea about performance implications, but you may use the regex modifier "(?i)" for ignore case: name ~ '(?)airport' Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk> Gesendet: Montag, 24. Juli 2017 12:55:26 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: [mkgmap-dev] upper and lower case Hi, I wonder are there functions to convert values to upper or lower cases? I can't find anything in the style manual. I'm doing a lot of comparison of name fields such as name~'[Aa]irport' and think it would be much more efficient to first copy the name to an upper or lower case version and then do equality matches instead of the regular expression matches (this would also detect any oddly capitalized names such as AIrport). Any suggestions? Thanks, Mike _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] upper and lower case
- Next message: [mkgmap-dev] mkgmap and MapInstall (OS X)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list