I was assuming that what was contained in the anchor is plainext.

Regex maxim #1:  You can't match what you haven't defined.  :-)  It's hard
when we don't know /exactly/ what he's trying to do.  <cfmindread />?


--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
: Sent: Friday, March 14, 2003 4:14 PM
: To: CF-Talk
: Subject: Re: SOT: RegEx Help!
:
:
: Ben Doom wrote:
: > If this is in a larger page context, I probably wouldn't use
: (.*) since that
: > would grab everything from the open anchor tag to the /last/
: closing anchor
: > tag.  I'd use
: > ([^<]*)
:
: Don't, "<" is not an illegal character in an anchor. In that case use, ?
: to make the regex non-greedy (in CF MX at least).
:
: Jochem
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to