From: Robert Klemme Date: 2007-03-17T05:10:08+09:00 Subject: Re: [Slightly OT] Case against ".*" regexp On 16.03.2007 20:58, Edgardo Hames wrote: > Some time ago I remember reading a post in this list against using > ".*" regexp but I cannot find it -- I guess I don't remember the right > keywords :( > Does anyone remember that? Not exactly. But you should not use ".*" nested in another starred expression because that will usually lead to massive backtracking. Another problem is, that ".*" matches the empty string which is often not what you want. Kind regards robert