develooper Front page | perl.perl5.porters | Postings from June 2011

Re: Any objection to allowing no-op underscores between regexmodifiers?

Thread Previous | Thread Next
From:
Jesse Vincent
Date:
June 11, 2011 08:16
Subject:
Re: Any objection to allowing no-op underscores between regexmodifiers?
Message ID:
20110611151617.GI2692@fsck.bestpractical.com



On Sat, Jun 11, 2011 at 08:43:52AM -0600, Karl Williamson wrote:
> I heard about this proposal too late to get it in 5.14.
> 
> Allowing underscores as a way for the user to separate the regex
> modifiers into whatever groups they wish seems like a good idea to
> me. The modifiers would do nothing besides be syntactic sugar and
> would not be in the stringified version.

I agree 100% about the problem this proposal is trying to address. I've
been getting increasingly worried about the growing complexity of regex
modifiers.  Each and every change made has been a welcome addition and
made perfect sense when considered individually.  Taken as a whole, our
regexes have grown much more complex in the past several years.

I've actually been considering a moratorium on regex syntax changes for
5.16.

-jesse
-- 

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