Re: RFC 331 (v1) Consolidate the $1 and C<\1> notations

[email protected] (Jonathan Scott Duff) Thu, 28 Sep 2000 16:24:23 -0500
Newsgroups perl.perl6.language.regex
Message-ID <[email protected]>
On Thu, Sep 28, 2000 at 08:57:39PM -0000, Perl6 RFC Librarian wrote:
> ${P1} means what $1 currently means (first match in last regex)

I'm sorry that I don't have anything more constructive to say than
"ick", but ... Ick.

Well, maybe I do.   Forget $P1.  If the user wanted $1 from the
previous RE, then they should have saved it somewhere.  This would
eliminate the "major" RE-engine changes to make $P1 work.  But it
would require that the p52p6 translator make some really smart
modifications.

-Scott
-- 
Jonathan Scott Duff
[email protected]