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:
Nicholas Clark
Date:
June 17, 2011 03:05
Subject:
Re: Any objection to allowing no-op underscores between regexmodifiers?
Message ID:
20110617100458.GO23881@plum.flirble.org
On Sat, Jun 11, 2011 at 11:16:17AM -0400, Jesse Vincent wrote:

> 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

Me too.

> been getting increasingly worried about the growing complexity of regex
> modifiers.  Each and every change made has been a welcome addition and

Me too.

> made perfect sense when considered individually.  Taken as a whole, our

I often feel the same about the language as a whole.
We're at risk of slowly, and with the best of intentions, repeating one of
the mistakes of the Perl 6 RFC process [no, that's not Godwin's law invoked.
It doesn't kill the debate], in that Larry said that may of the proposals
identified legitimate problems, but the proposed solutions did not fit
together at all.

(Even if each proposed solution makes sense as what we have now plus one this
one thing)

I don't have a good solution for this.

It's not helping that few people try new features until years later, and only
*then* start to find all the holes in them.

Nicholas Clark

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