Skip to content

Instantly share code, notes, and snippets.

View moole's full-sized avatar

Jiří Tužil moole

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