> if matchChunk(tStoryText, "(" & tWord & ")",
> tStartChar, tEndChar) then
> set the textStyle of char tStartChar to tEndChar of
> field "myText" to empty
> end if
>
> I need a RegEx string that will match only the whole word.
> Kind of like the wholeMatches property works with the offset
> functions. Is this possible?
You better believe it, Chris. You can use the "\b" command which means
"word boundary", like this:
if matchChunk(tStoryText,"\b(" & tWord & ")\b",tStartChar,tEndChar)
then
Have fun!
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution