\z vs \Z vs $

[email protected] (Tom Christiansen) Tue, 19 Sep 2000 13:59:08 -0600
Newsgroups perl.perl6.language.regex
Message-ID <12839.969393548@chthon>
What can be done to make $ work "better", so we don't have to
make people use /foo\z/ to mean /foo$/?  They'll keep writing
the $ for things that probably oughtn't abide optional newlines.

Remember that /$/ really means /(?=\n?\z)/. And likewise with \Z.

--tom