diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 1648ae85..9ea226cf 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -113,7 +113,7 @@ Groups will be as follows: * ``target``: new target temperature (float) """ -regex_position = re.compile("X:(?P{float})\s+Y:(?P{float})\s+Z:(?P{float})\s+E:(?P{float})".format(float=regex_float_pattern)) +regex_position = re.compile("X:(?P{float})\s*Y:(?P{float})\s*Z:(?P{float})\s*E:(?P{float})".format(float=regex_float_pattern)) """Regex for matching position reporting. Groups will be as follows: