On Thu, Nov 14, 2013 at 12:32:45AM -0600, Stan Hoeppner wrote:

> In recent years CPUs have become so blindingly fast it makes no
> difference.  Any excess cycles burned by a non anchored regex were idle
> cycles anyway.  There are good arguments for anchoring expressions, but
> saving CPU cycles is simply no longer one of them, not for years now.

Mere excuse for sloppiness.  Always anchor, then when possible
discard leading "^.*" and trailing ".*$".

-- 
        Viktor.

Reply via email to