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

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

Thread Previous | Thread Next
From:
Sawyer X
Date:
April 7, 2017 18:08
Subject:
Re: [perl #130497] Revert "Unescaped left brace in regex" fatality
Message ID:
fb441ce1-163b-cc28-b162-d67348cb9adc@gmail.com


On 04/07/2017 02:46 AM, Father Chrysostomos via RT wrote:
> On Thu, 06 Apr 2017 15:55:14 -0700, public@khwilliamson.com 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


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