From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mead Subject: Re: Best way to implement Keywords feature Date: Mon, 09 Nov 2009 00:00:12 +0000 Message-ID: <87hbt4k1o3.fsf@gmail.com> References: <7bef1f890911051442h28d45647h4f128a241d4e0116@mail.gmail.com> <427836.88344.qm@web28316.mail.ukl.yahoo.com> <87tyx5tg2x.fsf@gmail.com> <87vdhkvq0x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7HgC-00082Y-Sk for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 19:00:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7Hg8-0007zA-DY for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 19:00:20 -0500 Received: from [199.232.76.173] (port=47015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7Hg8-0007z0-Ax for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 19:00:16 -0500 Received: from mail-ew0-f228.google.com ([209.85.219.228]:57362) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7Hg7-0006tJ-Sk for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 19:00:16 -0500 Received: by ewy28 with SMTP id 28so2931630ewy.42 for ; Sun, 08 Nov 2009 16:00:15 -0800 (PST) In-Reply-To: (Matthew Lundin's message of "Sun, 08 Nov 2009 13:51:16 -0500") 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: Matthew Lundin Cc: Paul Mead , org-mode Matthew Lundin writes: > > It will if you use brackets to perform a regexp match. E.g., > > Keyword={example1} > > (...assuming the property is "Keyword: example1 example2".) > > From the manual page above: > > ,---- > | * If the comparison value is enclosed in curly braces, a regexp match > | is performed, with '=' meaning that the regexp matches the property > | value, and '<>' meaning that it does not match. > `---- > > Best, > Matt That's great, but what if I need to match *both* example1 and example2 in a search? I tried a few things but didn't find anything that works. Ideally, I'd be able to specify several keywords in a search on the fly. (I'm sorry if there's a regexp that matches multiple keywords that I don't know - it's a skill which I find keeps presenting surprises!) Thanks Paul