summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-07-22 16:20:08 -0700
committerEric Schulte <schulte.eric@gmail.com>2010-07-22 16:20:08 -0700
commitec034ba0d54356c051d1cdeef2e4c99d711a1c2d (patch)
treefab7f33f8cc6726a49c7a0b132b37614d43de6ff
parent8bda0e276fe3a61abe2413e75935f937f9337be0 (diff)
downloadorg-mode-ec034ba0d54356c051d1cdeef2e4c99d711a1c2d.tar.gz
ob-lob: fixed error in lob regexp -- it wasn't matching lob lines w/o indices
* lisp/ob-lob.el (org-babel-lob-one-liner-regexp): fixed error in lob regexp -- it wasn't matching lob lines w/o indices
-rw-r--r--lisp/ob-lob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-lob.el b/lisp/ob-lob.el
index a6cf048..f0f9438 100644
--- a/lisp/ob-lob.el
+++ b/lisp/ob-lob.el
@@ -64,7 +64,7 @@ If you change the value of this variable then your files may
(concat
"^\\([ \t]*\\)#\\+\\(?:"
(mapconcat #'regexp-quote org-babel-lob-call-aliases "\\|")
- "\\):[ \t]+\\([^\(\)\n]+\\)\(\\([^\n]*\\)\)\\(\\[.+\\]\\)[ \t]*\\([^\n]*\\)")
+ "\\):[ \t]+\\([^\(\)\n]+\\)\(\\([^\n]*\\)\)\\(\\[.+\\]\\|\\)[ \t]*\\([^\n]*\\)")
"Regexp to match calls to predefined source block functions.")
;; functions for executing lob one-liners