This is a Dreamweaver find & replace regex question.

I am using the following code to find all the <cfquery.../cfquery> 
blocks to analyze a legacy application.  It is working well to find all 
the query blocks in the application..
<cfquery(.|[\r\n])*?/cfquery>

However, I have noticed that some of the <cfquery> blocks are not active 
since they have been commented out.  Is it straight forward to 
optionally find these queries that are inside a comment set "<!--- ... 
--->" and include the entire comment block with the query block as well 
as all other query blocks?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1067
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to