Ian Skinner wrote: > 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? Another wrinkle. There can be one or more query blocks inside the comment block.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1068 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
