|
From: | Lennart Borgman |
Subject: | Re: Searching in occur for ^(?:M|C) |
Date: | Thu, 24 Nov 2005 20:23:13 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
Anselm Helbig wrote:
hi lennart,Yes, thanks, that helped. I will try to remember now that it is just a single \ for escaping when prompted for a pattern...what do you mean, you have some sourcecode where this regex occurs, and you want to find the matching lines? then you'd have to use sth like this: \^(\?:M|C) if you want to match lines that begin with M or C, then it'd have to be: ^\(?:M\|C\)HTH, regards,anselm
[Prev in Thread] | Current Thread | [Next in Thread] |