in reply to Re: Question about speeding a regexp count
in thread Question about speeding a regexp count

This approach actually does not work, because the regex starts matching after the previous match. in other words, if the $seq is "foobar" it will find 'foo' and then 'bar' but not 'oob' or 'oba'.
  • Comment on Re^2: Question about speeding a regexp count

Replies are listed 'Best First'.
Re^3: Question about speeding a regexp count
by ikegami (Patriarch) on Oct 13, 2005 at 20:01 UTC
    oops, I knew that! Thanks, Fixed.