in reply to Re^2: regex at word boundary
in thread regex at word boundary

Are you comparing apples to apples? Does the other code find overlapping palindromes?

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^4: regex at word boundary
by mikeraz (Friar) on Dec 12, 2005 at 18:22 UTC

    It does catch the overlapping. But I'm not comparing apples to apples because the RE in your code isn't working on my Solaris 5.6.1 code and it's generating many extra matches.

    Be Appropriate && Follow Your Curiosity