bugfixes
This commit is contained in:
@@ -27,7 +27,9 @@ _DLL_RE = re.compile(
|
||||
r"M=(?P<mhex>[0-9a-fA-F]+) \((?P<mfct>[A-Z?]+)\) "
|
||||
r"A=(?P<id>\w+) "
|
||||
r"VER=(?P<ver>[0-9a-fA-F]+) "
|
||||
r"TYPE=(?P<type>[0-9a-fA-F]+) \((?P<media>[^)]*)\) "
|
||||
# media can itself contain parentheses, e.g. "Radio converter (meter side)";
|
||||
# match lazily up to the " (driver ...)" that always follows.
|
||||
r"TYPE=(?P<type>[0-9a-fA-F]+) \((?P<media>.*?)\) "
|
||||
r"\(driver (?P<driver>\w+)\)"
|
||||
r"(?:.*?RSSI=(?P<rssi>-?\d+))?"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user