From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Serching for pattern down one column Date: Tue, 25 Nov 2008 16:43:30 +0100 Message-ID: References: <20673287.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227627846 27819 80.91.229.12 (25 Nov 2008 15:44:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2008 15:44:06 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: ingvar Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 16:45:09 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5066-0004cL-E5 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 16:45:07 +0100 Original-Received: from localhost ([127.0.0.1]:38391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L504w-0007yS-03 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 10:43:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L504d-0007yN-P3 for help-gnu-emacs@gnu.org; Tue, 25 Nov 2008 10:43:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L504c-0007yB-D5 for Help-gnu-emacs@gnu.org; Tue, 25 Nov 2008 10:43:34 -0500 Original-Received: from [199.232.76.173] (port=34607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L504c-0007y7-5S for Help-gnu-emacs@gnu.org; Tue, 25 Nov 2008 10:43:34 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:36084) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L504b-0002rq-OS for Help-gnu-emacs@gnu.org; Tue, 25 Nov 2008 10:43:33 -0500 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 61EB2F9EF70B; Tue, 25 Nov 2008 16:43:32 +0100 (CET) Original-Received: from [91.35.247.184] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1L504a-0007lF-00; Tue, 25 Nov 2008 16:43:32 +0100 In-Reply-To: <20673287.post@talk.nabble.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/92gvb+n8/uJhwhUOIEr1GNI/Xcy85zFkjJiaA 74Wn+sK1t3S1ShupQFzzBNobfJGisbEYMKxG5CaipbSinbQSQ3 7+PJ1YyWBXIKGIvmXPqw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60090 Archived-At: Am 25.11.2008 um 01:59 schrieb ingvar: > I now want to search for the pattern "111" in a column (it should =20 > find the > pattern in column 2 rows 2-4 and column 3 rows 3-5). Does anyone =20 > know how to > do it? I think it's *not* possible to write *one* regular expression to find =20= the occurrence in *any* column, though it's possible to write n =20 regexps to find the occurrence in exactly one of the n columns. -- Greetings Pete A lot of us are working harder than we want, at things we don't like =20 to do. Why? ...In order to afford the sort of existence we don't care =20= to live. =96 Bradford Angier