[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Avoid spurious matches to literal "#+end_src" inside source
From: |
Sean O'Halpin |
Subject: |
[O] [PATCH] Avoid spurious matches to literal "#+end_src" inside source block |
Date: |
Fri, 25 Mar 2011 22:23:34 +0000 |
>From d5a47db19a6c263b0516c454594296da9f44c428 Mon Sep 17 00:00:00 2001
From: Sean O'Halpin <address@hidden>
Date: Fri, 25 Mar 2011 22:16:54 +0000
Subject: [PATCH] * lisp/ob.el: Avoid spurious matches to literal
"#+end_src" inside a source block.
Added newline to org-babel-src-block-regexp.
---
lisp/ob.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/ob.el b/lisp/ob.el
index 6b4a766..8938b3b 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -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
--
1.7.0.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] [PATCH] Avoid spurious matches to literal "#+end_src" inside source block,
Sean O'Halpin <=