* lisp/ob.el: Avoid spurious matches to literal

"#+end_src" inside a source block.

Added newline to org-babel-src-block-regexp.
This commit is contained in:
Sean O'Halpin 2011-03-25 22:16:54 +00:00 committed by Eric Schulte
parent 3dfcaf013a
commit 12faa69330
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ remove code block execution from the C-c C-c keybinding."
;; (4) header arguments
"\\([^\n]*\\)\n"
;; (5) body
"\\([^\000]*?\n*\\)[ \t]*#\\+end_src")
"\\([^\000]*?\n*\\)\n[ \t]*#\\+end_src")
"Regexp used to identify code blocks.")
(defvar org-babel-inline-src-block-regexp