Merge pull request #216 from olysonek/udev-matcher-fix
Use re.DOTALL in the udev device matcher
This commit is contained in:
commit
46c8ea434d
1 changed files with 1 additions and 1 deletions
|
|
@ -21,4 +21,4 @@ class DeviceMatcherUdev(device_matcher.DeviceMatcher):
|
|||
for key, val in list(items):
|
||||
properties += key + '=' + val + '\n'
|
||||
|
||||
return re.search(regex, properties, re.MULTILINE) is not None
|
||||
return re.search(regex, properties, re.MULTILINE | re.DOTALL) is not None
|
||||
|
|
|
|||
Loading…
Reference in a new issue