Ben,

Thanks.  Since I have no clue what your string actually does, I'd like to
spend some time understanding it.

Andy

-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 11:25 AM
To: CF-Talk
Subject: RE: RegExpression Question


refind("([""'(])Andy\1", string)
will find the tree examples you gave.

If you want an explanation or more help, I suggest you turn to:
http://www.houseoffusion.com/cf_lists/index.cfm?method=threads&forumid=21
Read, Post to, or Join the list here for all your RegEx needs.  :-)



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Andy Ousterhout [mailto:[EMAIL PROTECTED]]
: Sent: Tuesday, November 19, 2002 11:55 AM
: To: CF-Talk
: Subject: RegExpression Question
:
:
: I want to find any of the following:
: "Andy"
: (Andy)
: 'Andy'
:  in a string, but not find
: "andy was here (not)
:
: I know the following will find each of the three options if I do
: it 3 times.
: Can I find all 1 one statement without finding ["andy was here (not] ?
:
: REFind("[]'*'[]", "Find this 'here'")
: REFind("[](*)[]", "Find this (here)")
: REFind("[]""*""[]", "Find this ""here""")
:
:
:
:
:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to