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

[perl #86378] Wishlist: (?(-1)yes-regexp) and (?(-2)yes-regexp|no-regexp)

Thread Next
James E Keenan via RT
June 30, 2013 00:34
[perl #86378] Wishlist: (?(-1)yes-regexp) and (?(-2)yes-regexp|no-regexp)
Message ID:
On Tue Jul 03 20:39:14 2012, wrote:
> On Tue, Jul 03, 2012 at 08:35:43PM -0700, Father Chrysostomos via RT
> > On Tue Jul 03 18:16:04 2012, doy wrote:
> > > Closing.
> > 
> > I think you missed the fact that this ticket contains two separate
> > issues:  1) the doc bug, which wasn’t a bug, and 2) a wishlist item:
> > support for (?(-1)...).
> > 
> > The second has not been implemented or rejected.
> Ah, I did miss that part, thanks.
> -doy

When this ticket was originally opened in March 2011, the wishlist item
Father C refers to was:

By the way: how about relative backreferences as a condition?
I think, it would be great, if we can use such conditional expressions:

(?(-1)yes-regexp) and (?(-2)yes-regexp|no-regexp)

No one has seconded the motion for this feature request in over two years.

Is there anyone who feels it ought to be implemented?

Is there anyone who is willing to take on the task of implementing it?

Thank you very much.
Jim Keenan

via perlbug:  queue: perl5 status: open

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About