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

Re: [perl #128213] No deprecation warning on literal left curlybracket in =?utf-8?b?Ly57Lw==?= etc

From:
Ed Avis
Date:
May 25, 2016 10:08
Subject:
Re: [perl #128213] No deprecation warning on literal left curlybracket in =?utf-8?b?Ly57Lw==?= etc
Message ID:
loom.20160525T120226-481@post.gmane.org
FWIW, I can imagine cases where you build up a regexp from smaller ones, which
might be provided by a library.  This means I tend to support Zefram's view
that any restriction on quantifiers must be purely syntactic, since you might
have

    /(?:$RE{whatever}){1,2}/;

and if $RE{whatever} changes under the covers to be just /^/ then this breaks.
(As for how that might come about, use your imagination, let's just accept
that these things sometimes happen.)

-- 
Ed Avis <eda@waniasset.com>




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