diff --git a/tuned/hardware/device_matcher_udev.py b/tuned/hardware/device_matcher_udev.py index e690d5b..c86d33b 100644 --- a/tuned/hardware/device_matcher_udev.py +++ b/tuned/hardware/device_matcher_udev.py @@ -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