🐛 Allow numbers, but not at the start
This commit is contained in:
1 parent
d091d2de28
commit
d0f6bf3e06
1 file changed
+1
-1
@@ -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<n>%s)" % regex_int_pattern)
|
||||
|
||||
Reference in new issue
Block a user