Thanks for your help,

i think my explanation was really bad.
I would use the same code as you, but my problem is that i want to find
all <cfmodule> tags with no attribute MAXHSIZE.
The attribute is not deprecated but required.

Sorry for the inconveniance.

Harry

> -----Original Message-----
> From: Gyrus [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 5:10 PM
> To: CF-Talk
> Subject: Re: Regular Expression
> 
> 
> > In plain english: I try to find all <cfmodule> tags. After 
> <cfmodule are
> > some characters, then textline.cfm then again some characters.
> > The expression MAXHSIZE should not be found in the part between
> > textline.cfm to >
> >  
> > Again: I try to find wrong <cfmodule> calls with a 
> deprecated attribute
> > (MAXHSIZE).
> 
> Slightly confusing explanation, but assume you want to match those
> tags where MAXHSIZE *does* exist, to identify invalid tags. Try
> 
> <cfmodule [^>]+textline.cfm[^>]+MAXHSIZE[^>]+>
> 
> Not 100% on this, but seems to work with basic test. The core
> trick is "[^>]+" (match one or more characters that aren't ">" -
> keeps the match inside the tag bounds.
> 
> hth,
> 
> - Gyrus
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to