From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: org-block-regexp questions Date: Thu, 22 Jan 2015 01:36:13 +0100 Message-ID: <87twzjircy.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE5l4-0004IP-Fr for emacs-orgmode@gnu.org; Wed, 21 Jan 2015 19:36:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YE5l0-0007aM-Lr for emacs-orgmode@gnu.org; Wed, 21 Jan 2015 19:36:26 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:45739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE5l0-0007Zp-E7 for emacs-orgmode@gnu.org; Wed, 21 Jan 2015 19:36:22 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 6E3264AA0B for ; Thu, 22 Jan 2015 01:36:20 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OFjowHNbyQ4e for ; Thu, 22 Jan 2015 01:36:20 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 70A1B4AA01 for ; Thu, 22 Jan 2015 01:36:18 +0100 (CET) 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: Org-Mode mailing list Hi list, I'm studying org-block-regexp. One thing that bugs me is this part: #\\+begin_? It suggests to me that the underscore after "begin" might be optional; but a quick experiment with the exporter shows that this is not the case. Next, this part: \\([^ \n]+\\) would suggest that TAB is a valid part of the name of the block. Strange, isn't it? Finally, the rationale behind \\(\\([^\n]+\\)\\)? escapes me completely. What's the use of groups nested like this? Any ideas? -- Marcin Borkowski This email was proudly sent http://mbork.pl from my Emacs.