in reply to Regex not matching &
I think the problem is that \b matches between \W and \w - since the '&' isn't within the \w class, \b failes to match.
Try replacing the \b with [^\w&][\w&] and adjusting the rest of the regexp accordingly.
See perlre for more details
-- zigdon
|
|---|