develooper Front page | perl.perl5.porters | Postings from December 2011

Re: [perl #107262] Unmatched \Q \E in regexp should warn

Thread Previous | Thread Next
Karl Williamson
December 30, 2011 07:13
Re: [perl #107262] Unmatched \Q \E in regexp should warn
Message ID:
On 12/30/2011 02:25 AM, Aristotle Pagaltzis wrote:
> * Brian Fraser<>  [2011-12-30 05:15]:
>> Currently the warning is "Found \E without a preceding case
>> modification or quoted section", mostly because I felt particularly
>> unimaginative.
> Why not simply “Found \E without matching \Q, \U or \L”? It’s shorter
> and quicker to read, and I think it’s much quicker to understand.
> Regards,

A sentence that fits other messages is "Useless use of \E"

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