]> git.ipfire.org Git - thirdparty/glibc.git/commit
conform/conformtest.pl: Escape literal braces in regular expressions
authorFlorian Weimer <fweimer@redhat.com>
Fri, 6 Jul 2018 14:31:24 +0000 (16:31 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 6 Jul 2018 14:40:22 +0000 (16:40 +0200)
commit33d1bde2de968f34c15f90183d0599eae7fb01d2
treeddc86c33cc8e5919c8ec4a58206d86f4f0262016
parent5fab7fe1dc9cab9a46cf5c8840aa9b7ea3a26296
conform/conformtest.pl: Escape literal braces in regular expressions

This suppresses Perl warnings like these:

Unescaped left brace in regex is deprecated here (and will be fatal in
Perl 5.32), passed through in regex; marked by <-- HERE in m/^element
*({ <-- HERE ([^}]*)}|([^{ ]*)) *({([^}]*)}|([^{ ]*)) *([A-Za-z0-9_]*)
*(.*)/ at conformtest.pl line 370.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit ddb3c626b0a159de3547d901420198b626c29554)
ChangeLog
conform/conformtest.pl