diff options
Diffstat (limited to 'parsers/survex.py')
-rw-r--r-- | parsers/survex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/survex.py b/parsers/survex.py index 4c0a6e5..5c59e6d 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -2428,9 +2428,9 @@ def FindAndLoadSurvex(): ff = survexblock.survexfile if comment: # print(f"FIX {survexblock} {altitude} {comment}") - if re.match("(?i)[^s]*srtm[\s\S]*", comment.lower()): + if re.match(r"(?i)[^s]*srtm[\s\S]*", comment.lower()): print(f"SRTM {ff}.svx::{survexblock} - {spath}.svx - alt={altitude} '{comment}'") - if re.match("(?i)[^s]*radost[\s\S]*", comment.lower()): + if re.match(r"(?i)[^s]*radost[\s\S]*", comment.lower()): print(f"RDST {ff}.svx::{survexblock} - {spath}.svx - alt={altitude} '{comment}'") svx_load = None |