From mboxrd@z Thu Jan 1 00:00:00 1970 From: Todd Neal Subject: Question aboug Regexp Date: Mon, 22 May 2006 23:02:59 -0400 Message-ID: <87lkstxx24.fsf@tolchz.net> 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 1FiN9t-0003vn-IL for emacs-orgmode@gnu.org; Mon, 22 May 2006 23:02:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FiN9r-0003ua-2E for emacs-orgmode@gnu.org; Mon, 22 May 2006 23:02:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiN9q-0003uX-C2 for emacs-orgmode@gnu.org; Mon, 22 May 2006 23:02:06 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FiNDx-00079r-E6 for emacs-orgmode@gnu.org; Mon, 22 May 2006 23:06:21 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FiN9e-00023c-Bo for emacs-orgmode@gnu.org; Tue, 23 May 2006 05:01:56 +0200 Received: from c-68-53-20-25.hsd1.ky.comcast.net ([68.53.20.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 May 2006 05:01:54 +0200 Received: from tolchz by c-68-53-20-25.hsd1.ky.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 May 2006 05:01:54 +0200 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: emacs-orgmode@gnu.org I am looking at why the following link does not work: [[elisp: (+ 1 2 3)]] I think that the problem lies with this regexp: 1 (defconst org-link-re-with-space2 2 (concat 3 "?") 7 "Matches a link with spaces, optional angular brackets around it.") I am more used to PCRE so I may be incorrect, but is the "[^]" a typo? Also we have the following definition: (defconst org-non-link-chars "]\t\n\r<>") Doesn't this make line 4 evaluate to: "\\([^]\t\n\r<> ]" or is the right-bracket escaped somehow? Todd