>- see footer for list info -<
> This finds commented out cfdumps, is that right?

Noooo.  It finds ones that AREN'T commented out.  Try it.

> I think he wanted non commented out ones.

I know ;-)


>Whilst we're all here... Why won't this work?
(<!---\s*?){0}<cfdump.*?>(\s*?--->){0}

Because (<!---\s*?){0} matches zero characters.  Which pretty much
matches everything, including the zero-character space immediately
before the <cfdump>.

You need to use a negative look-ahead, which really does the brain in at
first (well: I'm still waiting for them not to do my brain in, actually
;-)


-- 
Adam

PS: Regex Coach is really handy for troubleshooting this sort of thing.
http://www.weitz.de/regex-coach/
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to