Aaron Sherman writes:
The current syntax for what you're
trying to write is:
/ab(c|b) ($1 eq 'c')/
which is equivalent to
/ab(c|b) {fail unless $1 eq 'c'}/
Now, what does fail mean? I can think of two definitions:
1. proceed to trap state (backtracking then
On Wed, 2004-10-27 at 14:01, Luke Palmer wrote:
Aaron Sherman writes:
/ab(c|b) {fail unless $1 eq 'c'}/
Now, what does fail mean? I can think of two definitions:
1. proceed to trap state (backtracking then happens)
2. exit (probably using an exception) the rule?
The
On Tue, 2004-10-26 at 05:17, Matthew Walton wrote:
Also, climbing back out and shouting 'Eureka' would only really be
appropriate if you actually had experienced a moment of revelation about
something. I suspect you were too busy with the not drowning part for that.
Well, such moments of
On Tue, Oct 26, 2004 at 01:42:02PM -0400, Aaron Sherman wrote:
: Larry, while you're feeling chatty, I have a question about Perl 6
: regular expressions for you. You answered a question of mine, long ago
: with a correction. I had said something like:
:
: /ab(c|b){$1 eq 'c'}/
:
: If I
On Tue, 2004-10-26 at 20:16, Larry Wall wrote:
On Tue, Oct 26, 2004 at 01:42:02PM -0400, Aaron Sherman wrote:
: /ab(c|b){$1 eq 'c'}/
:
: If I recall correctly you had said something like, there is no plan
: (yet) to allow embedded closures to affect matching directly, other than
: