Skip Menu |

This queue is for tickets about the CSS-DOM CPAN distribution.

Report information
The Basics
Id: 124156
Status: resolved
Priority: 0/
Queue: CSS-DOM

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.16
Fixed in: (no value)



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\f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\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])))*)))|((?^:(?=\.?[0-9])[0-9]*(?:\.[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
On Sun Jan 21 09:06:06 2018, SREZIC wrote: Show quoted text
> 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]*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\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\\']*)*)))| > # ((?^:#(?^:[_a-zA-Z0-9-]|[^\0-\177]|(?^i:\\(?:[0-9a- > f]{1,6}(?:\r\n|[ \n\r\t\f])?|[^\n\r\f0-9a-f])))+))|((?^:(?^:(?=\.?[0- > 9])[0-9]*(?:\.[0-9]*)?)%))|((?^:(?^:(?=\.?[0-9])[0-9]*(?:\.[0- > 9]*)?)(?^:-?(?^:[_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])))*)))|((?^:(?=\.?[0-9])[0-9]*(?:\.[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
Now fixed in CSS-DOM-0.17.tar.gz. Thank you for the report.