Re: RFC 332 (v1) Regex: Make /$/ equivalent to /\z/ under the '/s' modifier
[email protected] (Bennett Todd) Sat, 7 Oct 2000 00:00:56 -0400
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Message-ID | <[email protected]> |
--S66JdqtemGhvbcZP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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
--S66JdqtemGhvbcZP
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE53p/4L6KAps40sTYRArciAJ4tqOM5OrCQqcoDmA+gwz409cL7QQCfbiOh
sCldAnBpDVXc7cQzME3uWv4=
=Ehy7
-----END PGP SIGNATURE-----
--S66JdqtemGhvbcZP--