New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wishlist: (?(-1)yes-regexp) and (?(-2)yes-regexp|no-regexp) #11198
Comments
From g+i@gameintellect.comHello Jon Allen, I found a bug in a format of the conditional expressions, see There are superfluous parentheses around a condition: (?(condition)yes-regexp) and (?(condition)yes-regexp|no-regexp) because the conditions already have parentheses: (integer) The format of the conditional expression should be (? condition yes-regexp) and (? condition yes-regexp|no-regexp) By the way: how about relative backreferences as a condition? (?(-1)yes-regexp) and (?(-2)yes-regexp|no-regexp) -- |
From @briandfoyIn article <rt-3.6.HEAD-4136-1300351559-1942.86378-75-0@perl.org>,
I think the current form is correct, and the part you think is odd is |
The RT System itself - Status changed from 'new' to 'open' |
From @demerphqOn 18 March 2011 06:41, brian d foy <brian.d.foy@gmail.com> wrote:
I concur. The documentation is correct. The prefix that denotes this construct is: (?( The paren is NOT part of the condition, it is part of the regex syntax. Yves -- |
From @doyClosing. -doy |
From [Unknown Contact. See original ticket]Closing. -doy |
@doy - Status changed from 'open' to 'resolved' |
From @cpansproutOn Tue Jul 03 18:16:04 2012, doy wrote:
I think you missed the fact that this ticket contains two separate The second has not been implemented or rejected. -- Father Chrysostomos |
From [Unknown Contact. See original ticket]On Tue Jul 03 18:16:04 2012, doy wrote:
I think you missed the fact that this ticket contains two separate The second has not been implemented or rejected. -- Father Chrysostomos |
@doy - Status changed from 'resolved' to 'open' |
From @doyOn Tue, Jul 03, 2012 at 08:35:43PM -0700, Father Chrysostomos via RT wrote:
Ah, I did miss that part, thanks. -doy |
From @jkeenanOn Tue Jul 03 20:39:14 2012, doy@tozt.net wrote:
When this ticket was originally opened in March 2011, the wishlist item ##### (?(-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. |
From @cpansproutOn Sat Jun 29 17:33:57 2013, jkeenan wrote:
Consider me willing, but also consider that it is at the bottom of by I think it would be a very handy feature. Leaving it open keeps it on -- Father Chrysostomos |
Migrated from rt.perl.org#86378 (status was 'open')
Searchable as RT86378$
The text was updated successfully, but these errors were encountered: