From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juri Artamonov Subject: Re: Re: Sparse tree using regexp Date: Tue, 7 Dec 2010 13:44:39 +0000 Message-ID: References: <87zkshyddr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1622400434==" Return-path: Received: from [140.186.70.92] (port=55500 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPxqT-0007ZU-Sh for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 08:44:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPxqS-0004fg-Rm for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 08:44:41 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:42743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPxqS-0004fY-LJ for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 08:44:40 -0500 Received: by qyk7 with SMTP id 7so4751322qyk.0 for ; Tue, 07 Dec 2010 05:44:40 -0800 (PST) In-Reply-To: <87zkshyddr.fsf@gmail.com> 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: "Marco (m) Wahl" , emacs-orgmode --===============1622400434== Content-Type: multipart/alternative; boundary=0016e64653acc923b60496d23434 --0016e64653acc923b60496d23434 Content-Type: text/plain; charset=ISO-8859-1 Hello Marco, this way it's working. Do you know why it's required additional brackets and it's handling? Thank you, Juri. On Tue, Dec 7, 2010 at 12:29 PM, Marco (m) Wahl wrote: > 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --0016e64653acc923b60496d23434 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Marco,

this way it's working. Do you know why = it's required additional brackets and it's handling?

=
Thank you,
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Juri.=

On Tue, Dec 7, 2010 at 12:29 PM, Marco (m) Wahl <marcowahl@gmail.com> wrote:=
Juri Artamonov <jartamonov@gmail.com> writes:

> Hello,
>
> I have aquamacs and I have org file. I would like to leave lines that<= br> > 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


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--0016e64653acc923b60496d23434-- --===============1622400434== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1622400434==--