Re: RFC 331 (v1) Consolidate the $1 and C<\1> notations
[email protected] (Dave Storrs) Sat, 30 Sep 2000 16:40:08 -0700 (PDT)
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 30 Sep 2000, Bart Lateur wrote: > I wrote this before, but apparently you didn't hear it. Let me repeat: You're right, I missed your email when I was incorporating things into the new version. Apologies. > $foo on the LHS allows metacharacter matching, for example "a.*b" can > match "a foo b". But \1 only allows literal strings. If $1 captured I don't believe it matters...my version of $1 works exactly like the current \1 and my $/[1] works exactly like the current $1. Dave