From mboxrd@z Thu Jan 1 00:00:00 1970 From: Malcolm Purvis Subject: Re: Regex Speedup for org-refresh-category-properties. Date: Wed, 30 Jul 2014 09:46:02 +1000 Message-ID: References: <87vbqgf86j.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCH5w-0001hg-4d for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 19:46:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCH5q-0002V4-U5 for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 19:46:12 -0400 Received: from mail108.syd.optusnet.com.au ([211.29.132.59]:54621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCH5q-0002Uh-J6 for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 19:46:06 -0400 Received: from purvis.id.au (c110-20-44-66.rivrw8.nsw.optusnet.com.au [110.20.44.66]) by mail108.syd.optusnet.com.au (Postfix) with ESMTP id A14541A5877 for ; Wed, 30 Jul 2014 09:46:02 +1000 (EST) In-Reply-To: <87vbqgf86j.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 29 Jul 2014 18:20:36 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org >>>>> "Achim" == Achim Gratz writes: Achim> I think that "^[ \t]*\\(\\(?:#\\+\\|:\\)CATEGORY:\\)\\(.*\\)" Achim> would be a better regex, assuming that the original regex was Achim> doing the right thing. Thanks. Things are just as fast with this regexp. Malcolm -- Malcolm Purvis