Allow whitespace (e.g. newline characters for the multiline NOTES field) when importing ADIF files.

pull/61/head
Christian T. Jacobs 2017-07-13 17:39:19 +01:00
rodzic e00af44173
commit a09696b4a5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -258,7 +258,7 @@ class ADIF:
n_eor = 0
n_record = 0
records = []
pattern = re.compile("<(.*?):(\d*).*?>([^<\t\n\r\f\v]+)")
pattern = re.compile("<(.*?):(\d*).*?>([^<]+)")
for t in tokens:
if(re.match("<eor>", t, flags=re.IGNORECASE) is not None):