diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 2045c7e94..36921a7b6 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -182,7 +182,7 @@ Groups will be as follows: * ``value``: reported position value """ -regex_firmware_splitter = re.compile(r"\s*([A-Z_]+):\s*") +regex_firmware_splitter = re.compile(r"\s*([A-Z][A-Z0-9_]*):\s*") """Regex to use for splitting M115 responses.""" regex_resend_linenumber = re.compile(r"(N|N:)?(?P%s)" % regex_int_pattern)