]> 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:41:11 +0000 (16:41 +0200)
commitcf6deb084bcc68d3e0753270b46c2098c76d829c
tree447305e790ed9ce6a9b769846f1ab4ed505864a8
parentb12bed3e061af6df02e7f685fb465235513bb171
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