I think maybe you meant (.*?). (.*)? works out exactly the same as (.*) without the ?. Hence my confusion. XD
Adrian Lynch wrote: > To highlight the important parts :O) > > Maybe :OD > > -----Original Message----- > From: Ben Doom [mailto:[EMAIL PROTECTED] > Sent: 07 March 2005 16:45 > To: RegEx > Subject: Re: Finding queries that use a certain table > > > why the parens? > > --Ben > > Adrian Lynch wrote: > >>Maybe: >> >><cfquery(.*)?MyTable(.*)?</cfquery> >> >>Ade >> >>-----Original Message----- >>From: Jason Miller [mailto:[EMAIL PROTECTED] >>Sent: 07 March 2005 15:37 >>To: RegEx >>Subject: Finding queries that use a certain table >> >> >>Can anyone formulate a regex to find all instances of a cfquery statement >>that involves a particular table, say MyTable? >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 04/03/2005 >> >> >> > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:843 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
