瀏覽代碼

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
Eric Schulte 14 年之前
父節點
當前提交
ec034ba0d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-lob.el

+ 1 - 1
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