Remove newline matching from regexp

master
Guillaume Seguin 2013-05-18 22:09:56 +02:00
parent bd09e6f444
commit b781566132
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ import math
import datetime
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"]
class Line(object):