um.  They don't.  I goofed.  This would work for anything where the opening
or closing are the same.

Hmm.  Offhand, I think you might have to use a separate check for anything
like (), {}, <>, and anything else where the opener and closer must be
paired but are different.



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Samuel Neff [mailto:[EMAIL PROTECTED]]
: Sent: Tuesday, November 19, 2002 2:24 PM
: To: CF-Talk
: Subject: RE: RegExpression Question
:
:
: I don't understand how the backreferences can work in this case:
:
: (Andy)
:
: If it matches the first (, then it will search for a matching (, not the
: matching ).
:
: > -----Original Message-----
: > From: Ben Doom [mailto:[EMAIL PROTECTED]]
: > Sent: Tuesday, November 19, 2002 12:25 PM
: > 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.  :-)
:
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to