]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - hwdb.d/parse_hwdb.py
hwdb: allow spaces in usb: matches and similar patterns
[thirdparty/systemd.git] / hwdb.d / parse_hwdb.py
index 8e1b5fdafa4c600279f8c3a4288bef31610cdd82..c9851ca64c9bd2eccd634a2a783e47173c599331 100755 (executable)
@@ -87,7 +87,7 @@ def hwdb_grammar():
                 for category, conn in TYPES.items())
 
     matchline_typed = Combine(prefix + Word(printables + ' ' + '®'))
-    matchline_general = Combine(Or(GENERAL_MATCHES) + ':' + Word(printables))
+    matchline_general = Combine(Or(GENERAL_MATCHES) + ':' + Word(printables + ' ' + '®'))
     matchline = (matchline_typed | matchline_general) + EOL
 
     propertyline = (White(' ', exact=1).suppress() +