Skip to content

Instantly share code, notes, and snippets.

View ianengelbrecht's full-sized avatar

Ian Engelbrecht ianengelbrecht

  • South Africa
View GitHub Profile
@moole
moole / GPS_coord_regexp
Created September 12, 2012 14:47
GPS coordinate regular expression
FLOAT NUMBER \f
((?:[\+-]?[0-9]*[\.,][0-9]+)|(?:[\+-]?[0-9]+))
DEGREE SEPARATOR \ds
[^ms'′"″,\.\dNEWnew]
MINUTE SEPARATOR \ms
[^ds°"″,\.\dNEWnew]
SECOND SEPARATOR \ss