develooper Front page | perl.perl5.porters | Postings from April 2017

Re: [perl #130497] Revert "Unescaped left brace in regex" fatality

Thread Previous | Thread Next
Sawyer X
April 7, 2017 18:08
Re: [perl #130497] Revert "Unescaped left brace in regex" fatality
Message ID:

On 04/07/2017 02:46 AM, Father Chrysostomos via RT wrote:
> On Thu, 06 Apr 2017 15:55:14 -0700, wrote:
>> I now offer a somewhat less kludgy idea.  Change the code so that at the 
>> point of raising the fatal message, it first looks at the current 
>> context.  If the left brace does not conflict with ideas we have as to 
>> how we could use it not-literally, then don't die but instead raise the 
>> warning.
> Much better.
> “Unescaped left brace may conflict with future pattern syntax” or suchlike.

Not a bad idea, but we're pretty far in the cycle to test this change
out, I think.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About