1
0
Fork 0

Merge pull request #221 from olysonek/revert-udev-matcher-change

Revert "Use re.DOTALL in the udev device matcher"
This commit is contained in:
Jaroslav Škarvada 2019-11-25 10:16:18 +01:00 committed by GitHub
commit d704dadb0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 | re.DOTALL) is not None
return re.search(regex, properties, re.MULTILINE) is not None