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:
Karl Williamson
Date:
April 10, 2017 17:16
Subject:
Re: [perl #130497] Revert "Unescaped left brace in regex" fatality
Message ID:
1d57b4e5-4ee6-fc26-a3a9-124967520969@khwilliamson.com
On 04/10/2017 05:21 AM, Dave Mitchell wrote:
>>>> The solution that requires the least cleverness is my original kludge,
>>>> to simply make
>>>>
>>>>  /\${[^\}]*}/
>>>>
>>>> non-fatal.  It's trivial to do this, and keep it to a single warning
>
> +1
>

To show how much code is involved in doing this, a minimal patch is 
attached, without fixing the indent nor comments nor tests.

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