diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2019-09-03 17:27:37 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2019-09-03 21:01:41 +0300 |
commit | 09dc2099569b65a82774a503b072ca812956acb1 (patch) | |
tree | 56dd29444884d176c35b0848c4ac992f6d9a4d17 /plugins/GCodeReader | |
parent | e2ed6f03e20eea283b8fb8b9a67ec54eebe0c8b2 (diff) |
Fix regex in FlavorParser
Diffstat (limited to 'plugins/GCodeReader')
-rw-r--r-- | plugins/GCodeReader/FlavorParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py index 5a57618983..ec0f5d3ea3 100644 --- a/plugins/GCodeReader/FlavorParser.py +++ b/plugins/GCodeReader/FlavorParser.py @@ -68,7 +68,7 @@ class FlavorParser: if n < 0: return None n += len(code) - pattern = re.compile("[;\s]") + pattern = re.compile("[;\\s]") match = pattern.search(line, n) m = match.start() if match is not None else -1 try: |