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

Re: Regex warning

Thread Previous | Thread Next
September 27, 2011 04:26
Re: Regex warning
Message ID:
On Thu, Sep 22, 2011 at 6:32 AM, Aristotle Pagaltzis <> wrote:
> * Karl Williamson <> [2011-09-22 04:50]:
>> I now regret not also deprecating '\w{'
> Let’s do that? It’ll take another cycle but so what.

DON'T do that.  We could deprecate /\b{/ because /\b{3,12}/ is
equivalent to just a single /\b/.  However, /\w{3,12}/ is very
different from just /\w/, and so it is actually useful in a regular


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