> 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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to