From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: TBLFM regexp doesn't account for possible white space after the pipe [8.2.2 (release_8.2.2-188-gc57372 @ /home/wvxvw/Projects/org-mode/lisp/)] Date: Fri, 08 May 2015 10:52:28 +0200 Message-ID: <87k2wjh2nn.fsf@nicolasgoaziou.fr> References: <87vbg42hrd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqdzt-0000Ik-M7 for emacs-orgmode@gnu.org; Fri, 08 May 2015 04:51:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yqdzs-0005GT-OF for emacs-orgmode@gnu.org; Fri, 08 May 2015 04:51:05 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:50087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqdzs-0005GN-Hx for emacs-orgmode@gnu.org; Fri, 08 May 2015 04:51:04 -0400 In-Reply-To: <87vbg42hrd.fsf@gmail.com> (Oleg Sivokon's message of "Fri, 08 May 2015 00:35:18 +0300") 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: Oleg Sivokon Cc: emacs-orgmode@gnu.org Hello, Oleg Sivokon writes: > When evaluating a formula, the regular expression used to locate the > formula will miss, if there is a white space after the rightmost pipe in > the last row, i.e. > > |1|* > #+tblfm: vsum($1) > > asterisk is where the extra space character appears. Good catch. > Attached is my attempt at patching it. Thank you. However, I applied a different patch as table lines are not required to end on a vertical bar either. Anyway, it should be fixed in 6ac8db9dbabd83152612c65a9cd505390a1915d1. Regards, -- Nicolas Goaziou