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"

On Fri, Nov 7, 2008 at 10:49 AM, s. isaac dealey <[EMAIL PROTECTED]> wrote:

> > 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
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314947
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to