in reply to Re^2: regex at word boundaryin thread regex at word boundary
-QM -- Quantum Mechanics: The dreams stuff is made of
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.