Browse Source

Be less fussy about B record extensions.

cfd
Tom Payne 13 years ago
parent
commit
9cd9eefc1e
  1. 2
      igc2kmz/igc.py

2
igc2kmz/igc.py

@ -26,7 +26,7 @@ import track
A_RECORD_RE = re.compile(r'A(.*)\Z')
B_RECORD_RE = re.compile(r'B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])'
r'(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})\d*\Z')
r'(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5}).*\Z')
C_RECORD_RE = re.compile(r'C(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])(.*)\Z')
G_RECORD_RE = re.compile(r'G(.*)\Z')
HFDTE_RECORD_RE = re.compile(r'H(F)(DTE)(\d\d)(\d\d)(\d\d)\Z')

Loading…
Cancel
Save