From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Possible regexp bug in org.el Date: Wed, 16 Apr 2014 18:28:48 +0200 Message-ID: <87r44xw76q.fsf@bzg.ath.cx> References: <87ob0lmlg2.fsf@gmail.com> <878urp1him.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaT1s-0000Ro-3m for emacs-orgmode@gnu.org; Wed, 16 Apr 2014 12:49:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaT1m-0008IS-TL for emacs-orgmode@gnu.org; Wed, 16 Apr 2014 12:49:44 -0400 Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]:43006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaT1m-0008ID-Ms for emacs-orgmode@gnu.org; Wed, 16 Apr 2014 12:49:38 -0400 Received: by mail-we0-f180.google.com with SMTP id p61so11047661wes.39 for ; Wed, 16 Apr 2014 09:49:37 -0700 (PDT) In-Reply-To: <878urp1him.fsf@yahoo.fr> (Nicolas Richard's message of "Tue, 01 Apr 2014 12:16:49 +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: Nicolas Richard Cc: emacs-orgmode@gnu.org, Thorsten Jolitz Hi Thorsten and Nicolas, Nicolas Richard writes: > It's almost certainly a typo, but it introduces no bug because '*' can't > bear its special meaning after '^', so the regexp engine will make it > match exactly the '*' character. But it'd be better written as "^*+" > (but this is not recommended) or, preferably, "^\\*+" indeed. Fixed in master, thanks, -- Bastien