Subject: | Unescaped left brace in regex is deprecated here |
The test suite started to fail with perl 5.27.8:
# Failed test 'no warnings for style belonging to element itself'
# at t/css-dom.t line 34.
# got: '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/\G(?:
# ((?^x:url\((?^:[ \t\r\n\f]*)(?:
# (?^:(?^:"[^\n\r\f\\"]*(?:(?:\\(?^:\r\n?|[\n\f])|(?^i:\\(?:[0-9a-f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f])))[^\n\r\f\\"]*)*)(?:"|\z)|(?^:'[^\n\r\f\\']*(?:(?:\\(?^:\r\n?|[\n\f])|(?^i:\\(?:[0-9a-f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f])))[^\n\r\f\\']*)*)(?:'|\z))
# |
# [^\0- "'()\\\x7f]*(?:(?^i:\\(?:[0-9a-f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f]))[^\0- "'()\\\x7f]*)*
# )(?^:[ \t\r\n\f]*)(?:\)|\z)))|((?^i:U\+[0-9A-F?]{1,6}(?:-[0-9a-f]{1,6})?))|((?^:(?^:-?(?^:[_a-zA-Z]|[^\0-\177]|(?^i:\\(?:[0-9a-f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f])))(?^:[_a-zA-Z0-9-]|[^\0-\177]|(?^i:\\(?:[0-9a-f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f])))*)\())|((?^:-?(?^:[_a-zA-Z]|[^\0-\177]|(?^i:\\(?:[0-9a-f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f])))(?^:[_a-zA-Z0-9-]|[^\0-\177]|(?^i:\\(?:[0-9a-f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f])))*))|((?^:\@(?^:-?(?^:[_a-zA-Z]|[^\0-\177]|(?^i:\\(?:[0-9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?:\.[0-9]*)?))|(<!--|-->)|(;)|({ <-- HERE )|(})|(\()|(\))
# |(\[)|(])|((?^sx:(?:[ \t\r\n\f]+|/\*.*?(?:\*/|\z))[ \t\r\n\f]*
# (?:/\*.*?(?:\*/|\z)[ \t\r\n\f]*)*))|(~=)|(\|=)|(,)|(:)|(.)
# )/ at /home/cpansand/.cpan/build/2018012112/CSS-DOM-0.16-0/blib/lib/CSS/DOM/Parser.pm line 58.
# '
# expected: undef
# Looks like you failed 1 test of 3.
t/css-dom.t ..........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests