Remove newline matching from regexp
parent
bd09e6f444
commit
b781566132
|
@ -20,7 +20,7 @@ import math
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
gcode_parsed_args = ["x", "y", "e", "f", "z", "p", "i", "j"]
|
gcode_parsed_args = ["x", "y", "e", "f", "z", "p", "i", "j"]
|
||||||
gcode_exp = re.compile("\([^\(\)]*\)|[/\*].*\n|\n|[a-z][-+]?[0-9]*\.?[0-9]*")
|
gcode_exp = re.compile("\([^\(\)]*\)|[/\*].*\n|[a-z][-+]?[0-9]*\.?[0-9]*")
|
||||||
move_gcodes = ["G0", "G1", "G2", "G3"]
|
move_gcodes = ["G0", "G1", "G2", "G3"]
|
||||||
|
|
||||||
class Line(object):
|
class Line(object):
|
||||||
|
|
Loading…
Reference in New Issue