>we ultimately came up with this:
>"(?![</]#Variables.Word#)(\W)(#Variables.Word#)(\W)"
>
>The only downside that we found is if the word is at the very end or
>beginning of the paragraph.

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. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:314936
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