Let me rephrase what I stated before. Your approach should work fine, but I would like to avoid removing characters if possible. I will definatly keep your idea in mind if I can't do with a look ahead/behind.
The bottom line is I am just trying my best not to have to alter the code being searched. On Thu, Jul 10, 2008 at 9:01 AM, Peter Boughton <[EMAIL PROTECTED]> wrote: > > hmm. I'm not sure if that will work for me as I don't want to try to > alter > > the text. > > Why not? > > If you need the original text (e.g. for showing context of errors), > then you just create a copy of the text and work on that, then refer > back to the original version once you know which line numbers the > errors are on. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1155 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
