From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcowahl@gmail.com (Marco (m) Wahl) Subject: Re: Sparse tree using regexp Date: Tue, 07 Dec 2010 13:29:52 +0100 Message-ID: <87zkshyddr.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=37353 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPwgM-0000u5-Bv for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 07:30:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPwgH-0000hE-Gr for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 07:30:10 -0500 Received: from lo.gmane.org ([80.91.229.12]:42754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPwgH-0000gr-AD for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 07:30:05 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PPwgE-0006eC-Oh for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 13:30:02 +0100 Received: from stgt-5f708b9d.pool.mediaways.net ([95.112.139.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 13:30:02 +0100 Received: from marcowahl by stgt-5f708b9d.pool.mediaways.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 13:30:02 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Juri Artamonov writes: > Hello, > > I have aquamacs and I have org file. I would like to leave lines that > which contains only words TODO or INPROGRESS. > > I do Ctrl-C + / + / and then enter regular expression. If I enter TODO > or just INPROGRESS then it works but when I try to enter > TODO|INPROGRESS or TODO\|INPROGRESS in order to see records containing > one of these words then no records are shown. > > Could you please advice how to use regexp here for orgmode? what about '\(TODO\)\|\(INPROGRESS\)'? hth -- m