hwdb_parser: make sure that our patterns match the full property
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 10 Dec 2016 07:28:24 +0000 (02:28 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 10 Dec 2016 07:28:24 +0000 (02:28 -0500)
commitfe2a2a4f46a87da819c44310e2f12f1db8d7910f
treeec513df0c22a8be695ac751664b9fb7570c65297
parent7fdc73afe4729dec48577e9d47491289a545f0e7
hwdb_parser: make sure that our patterns match the full property

We would catch stuff like:
 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0.0., 0
but not
 ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 0.0.
because the match would stop at the next-to-last char. Fix that
by requiring a line end.
hwdb/parse_hwdb.py