mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix regex in FlavorParser
This commit is contained in:
parent
e2ed6f03e2
commit
09dc209956
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue