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 15:06:05 +0100 Message-ID: <87ei9ty8xe.fsf@gmail.com> References: <87zkshyddr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=58660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPyAb-0003Yk-In for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 09:05:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPyAa-0002SY-G2 for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 09:05:29 -0500 Received: from lo.gmane.org ([80.91.229.12]:42856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPyAa-0002SD-AO for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 09:05:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PPyAZ-0008R3-4m for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 15:05:27 +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 15:05:27 +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 15:05:27 +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 hi Juri, > > 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\)'? > this way it's working. that's good. > Do you know why it's required additional brackets and it's handling? i just reactivated my regexp-brain-cells and saw the brackets. ;) possibly you want to dive into regexps. then you will get aquainted with the brackets for grouping. but ali noticed that you don't need brackets on his box. maybe it's a bug (or inconvenience) in aquamacs. see his post and hopefully some follow-ups. ciao