www.pcre.org - it's all there (although it's a bit long-winded).

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Chris Sheffield
> Sent: Wednesday, October 01, 2003 2:11 PM
> To: [EMAIL PROTECTED]
> Subject: RE: RegEx difficulties
> 
> 
> Thanks, Ken.  That is exactly what I was looking for.  Is 
> that documented somewhere?  It'd be handy to have some really 
> good RegEx docs.  I'm kind of new at it.
> 
> Thanks again.
> 
> Chris Sheffield
> Software Development
> Read Naturally
> [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
> Sent: Wednesday, October 01, 2003 12:59 PM
> To: [EMAIL PROTECTED]
> Subject: RE: RegEx difficulties
> 
> >     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
> 
> 
> 
> _______________________________________________
> 
> use-revolution mailing list
> [EMAIL PROTECTED] 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to