I started to write:
Is there a reason for introducing an asymmetry, or
should this proposal read "... and /^/ equivalent to
/\A/ ..."?
but then I re-re-read perlre(1) and realized that that is the
current behavior already: this proposal is hammering out a little
bit of irregularity, removing a subtle difference between the
behavior of $ at the end and ^ at the beginning under /s. I offer
this as another argument in favour of RFC 332.
-Bennett
- RFC 332 (v1) Regex: Make /$/ equivalent to /\z/ under ... Perl6 RFC Librarian
PGP signature