Skip Menu |

This queue is for tickets about the JavaScript-Writer CPAN distribution.

Report information
The Basics
Id: 116414
Status: new
Priority: 0/
Queue: JavaScript-Writer

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

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



Subject: Unescaped left brace in regex is deprecated, passed through in regex
A new deprecation is causing warnings (and I think it fails with perl 5.25): Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/<script id="(javascript-writer-\d+-\d+)" type="text/javascript">;\(function\(\){ <-- HERE alert\(42\)\;setTimeout\(function\(\)\{alert\(\"Hi\"\)\;\}\,42\)\;}\).call\(document.getElementById\('\1'\)\);</script>/ at t/11.closure.t line 19. t/11.closure.t .......... ok
On 2016-07-23 04:53:41, SREZIC wrote: Show quoted text
> A new deprecation is causing warnings (and I think it fails with perl > 5.25): > > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/<script id="(javascript-writer-\d+-\d+)" > type="text/javascript">;\(function\(\){ <-- HERE > alert\(42\)\;setTimeout\(function\(\)\{alert\(\"Hi\"\)\;\}\,42\)\;}\).call\(document.getElementById\('\1'\)\);</script>/ > at t/11.closure.t line 19. > t/11.closure.t .......... ok
Yes, it fails with perl 5.25.x: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/<script id="(javascript-writer-\d+-\d+)" type="text/javascript">;\(function\(\){ <-- HERE alert\(42\)\;setTimeout\(function\(\)\{alert\(\"Hi\"\)\;\}\,42\)\;}\).call\(document.getElementById\('\1'\)\);</script>/ at t/11.closure.t line 19. # Looks like your test exited with 255 before it could output anything. t/11.closure.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/4 subtests