[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [Babel] Parsing source block bug ...

From: aditya siram
Subject: [O] [Babel] Parsing source block bug ...
Date: Fri, 13 Sep 2013 22:08:35 -0500

Hi all,
This patch fixes a bug where the regexp for parsing source blocks is too greedy on the body and so fails in the presence of empty code blocks. For instance given the following:

#+begin_src c

#+begin_src c
hello world

, doing (org-babel-get-src-block-info) the first #+begin_src will include everything up to the second #+end_src as part of the body.

Attachment: src_block_regexp_fix.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]