develooper Front page | perl.perl5.porters | Postings from August 2013

Re: [perl #116773] Documentation of $ in perlre

Thread Previous | Thread Next
August 29, 2013 11:05
Re: [perl #116773] Documentation of $ in perlre
Message ID:
Eric Brine wrote:
>By the way, the definition of /m is even worse.

I wonder if it would help to give precise definitions of /^/ and /$/
in terms of the simpler operators that were not available when that
document was originally written.

	/^/     /\A/
	/$/     /(?=\n?\z)/
	/^/m    /(?:\A|(?<=\n)(?!\z))/
	/$/m    /(?=\n|\z)/


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About