Browse Source

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 years ago
parent
commit
ec034ba0d5
1 changed files with 1 additions and 1 deletions
  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