in reply to Re^2: Regex Anchors confusion
in thread Regex Anchors confusion
So, there are four pairs: word-word, word-nonword, edge-word, edge-nonword. \b matches the middle two of those, and \B matches the outer two of those.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regex Anchors confusion
by japhy (Canon) on May 18, 2005 at 16:02 UTC |