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

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

Thread Next
From:
James E Keenan via RT
Date:
June 30, 2013 00:34
Subject:
[perl #86378] Wishlist: (?(-1)yes-regexp) and (?(-2)yes-regexp|no-regexp)
Message ID:
rt-3.6.HEAD-2552-1372552437-1387.86378-15-0@perl.org
On Tue Jul 03 20:39:14 2012, doy@tozt.net wrote:
> On Tue, Jul 03, 2012 at 08:35:43PM -0700, Father Chrysostomos via RT
wrote:
> > 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
https://rt.perl.org:443/rt3/Ticket/Display.html?id=86378

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