develooper Front page | perl.perl5.porters | Postings from October 2013

[perl #119713] Regex \8 and \9 after literals no longer work

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
October 26, 2013 08:26
Subject:
[perl #119713] Regex \8 and \9 after literals no longer work
Message ID:
rt-4.0.18-14230-1382775962-592.119713-15-0@perl.org
On Tue Sep 10 17:02:07 2013, tim.jenness@gmail.com wrote:
> 
> This is a bug report for perl from tim.jenness@gmail.com,
> generated with the help of perlbug 1.39 running under perl 5.18.1.
> 
> 
> -----------------------------------------------------------------
> [Please describe your issue here]
> 
> latex2html no longer works with perl 5.18.x. It worked fine for
> 5.16.x.
> 
> Michael Schroeder tracked this down as a problem matching \8 and \9
> if they come after a literal. This was introduced in commit 726ee55d
> and fixed by Yves in f1e1b256c5c1773d90e828cca6323c53fa23391b
> 
> Please consider including this fix in 5.18.2.

I am not sure this is a good idea.  That commit caused /\99/ to be an error, whereas it was not before.  We usually try to be very careful with maintenance releases and not risk breaking anything.  In this case, /\99/ was buggy before that, but introducing errors in a maintenance release is generally something we try to avoid.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=119713

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About