develooper Front page | perl.perl5.porters | Postings from May 2016

Re: [perl #128213] No deprecation warning on literal left curlybracket in /.{/ etc

Thread Previous | Thread Next
From:
Zefram
Date:
May 24, 2016 23:36
Subject:
Re: [perl #128213] No deprecation warning on literal left curlybracket in /.{/ etc
Message ID:
20160524233608.GG16984@fysh.org
demerphq wrote:
>Yes, no argument there. My point was more that IMO it would not be
>particularly unreasonable to forbid certain quantifiers on an
>assertion.

I'd be OK with syntactically forbidding quantifiers on assertions.
It'd really have to be *all* quantifiers; anything selective is more
complexity than it's worth.  And it would have to be strictly syntactic,
such that one can get around the restriction by wrapping the assertion in
(?:).

-zefram

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