From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Best way to implement Keywords feature Date: Sun, 08 Nov 2009 13:51:16 -0500 Message-ID: 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 1N7CrO-0007gS-TU for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 13:51:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7CrJ-0007fb-J3 for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 13:51:34 -0500 Received: from [199.232.76.173] (port=56231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7CrJ-0007fY-Fj for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 13:51:29 -0500 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:58434) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7CrJ-0006I0-4s for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 13:51:29 -0500 In-Reply-To: <87vdhkvq0x.fsf@gmail.com> (Paul Mead's message of "Sun, 08 Nov 2009 18:18:38 +0000") 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: Paul Mead Cc: Matt Lundin , org-mode Paul Mead writes: > Matt Lundin writes: > >> >> http://orgmode.org/manual/Matching-tags-and-properties.html >> >> - Matt >> > Thanks Matt, although that allows me to search for a single property (if > I use 'Keyword' as an example, this will return a match if I search for > 'Keyword="example"'. It doesn't, however work if I want to use more that > one keyword. > > For example, if I set a property 'Keyword: keyword1 keyword2' and search for > 'Keyword="example1"' org doesn't find it. 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