]> git.ipfire.org Git - thirdparty/systemd.git/commit
rule-syntax-check: allow commas inside quoted strings 8297/head
authorFilipe Brandenburger <filbranden@google.com>
Tue, 27 Feb 2018 21:11:07 +0000 (13:11 -0800)
committerFilipe Brandenburger <filbranden@google.com>
Tue, 27 Feb 2018 21:11:07 +0000 (13:11 -0800)
commitc9715ffce347310a5196d1375810d41fbdd01fd6
tree0e7a7be8b63a072be5b2b2a4d0b812211ca5d235
parentd498347a01266fc77ad9086611495802096d00f6
rule-syntax-check: allow commas inside quoted strings

Using a regex to match the groups is smarter than the split(',') that
would break in those cases.

Tested:

  SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*,*:070202:*", TAG+="uaccess"

Rule checker doesn't break there after this commit.
test/rule-syntax-check.py