Commit 4464a33d authored by Carsten Dominik's avatar Carsten Dominik
Browse files

Fix regexp for finding code blocks

parent fe676f91
2011-07-30 Carsten Dominik <>
* ob.el (org-babel-src-block-regexp): If a code block has a body,
its last character must be a newline.
2011-07-28 Bastien Guerry <>
* org-publish.el (org-publish-index-generate-theindex): rename
......@@ -137,7 +137,7 @@ remove code block execution from the C-c C-c keybinding."
;; (4) header arguments
;; (5) body
"\\([^\000]*?\\)[ \t]*#\\+end_src")
"\\([^\000]*?\n\\)?[ \t]*#\\+end_src")
"Regexp used to identify code blocks.")
(defvar org-babel-inline-src-block-regexp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment