The \b actually did not work, it put the link within the first span element
but maybe was how I tested it. I tried: "(?![</]sub>)(\b)(sub)(\b)" as
well as "(?![</]sub>)\b(sub)\b"
> > That's the \W bits you're using - they're wrong; you want a
> > zero-width word boundary, not a non-word character.
> >
> > Use \b(#Variables.Word#)\b and you wont need to do the workaround.
>
> Thanks Peter... I'd never used word boundaries... so of course, they
> don't occur to me when I go to write a regex. :) I'll have to remember
> that in the future.
>
>
>
> --
> s. isaac dealey ^ new epoch
> isn't it time for a change?
> ph: 781.769.0723
>
> http://onTap.riaforge.org/blog
>
>
>
>