diff options
Diffstat (limited to 'parsers/survex.py')
-rw-r--r-- | parsers/survex.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parsers/survex.py b/parsers/survex.py index 60c0330..3754035 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -118,6 +118,8 @@ class LoadingSurvex(): other survex files. A 'scanswallet' is what we today call a "survey scans folder" or a "wallet". """ + # python regex flags (?i) means case-insentitive, (?s) means . matches newline too + # see https://docs.python.org/3/library/re.html rx_begin = re.compile(r'(?i)begin') rx_end = re.compile(r'(?i)end$') rx_title = re.compile(r'(?i)title$') |