develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #35877] \n after $ in regex (was: Strange regex failure?)

Thread Previous | Thread Next
Yitzchak Scott-Thoennes
June 2, 2008 14:06
Re: [perl #35877] \n after $ in regex (was: Strange regex failure?)
Message ID:
On Mon, June 2, 2008 1:52 pm, Bram wrote:
> Quoting David Nicol <>:
>> Warn that non-final $ will interpolate in documentation and suggest
>> \Z instead?
> Given how easy it is to miss it I feel more for a
> 'Possible unintended interpolation of $\ in regex' warning. (if that
> is even possible of course)
> Any comments on the warning?

Sounds great, if you can make it suppressable with ${\}.

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