develooper Front page | perl.perl5.porters | Postings from April 2000

Re: [Long] A candidate for perlretut.pod

Thread Previous
From:
Ronald J Kimball
Date:
April 7, 2000 08:04
Subject:
Re: [Long] A candidate for perlretut.pod
Message ID:
20000407110413.C392154@linguist.dartmouth.edu
On Fri, Apr 07, 2000 at 02:18:22PM +0100, Peter Haworth wrote:
> Mark Kvale wrote:
> > If C<//m> is being used, the start
> > and the end of string can still be matched with the anchors C<\A> and
> > C<\Z>:
> 
> You mean \z. \Z matches before a newline at the end, too

The significance here is the way /m changes the behavior of ^ and $ -- \Z
is correct because it always behaves as $ without /m.

\z should be mentioned separately.

Ronald

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About