Browse Source

Tightening up org-babel-lob-one-liner-regexp.

Dan Davison 16 years ago
parent
commit
af6af0b848
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-babel-lob.el

+ 1 - 1
lisp/org-babel-lob.el

@@ -62,7 +62,7 @@ add files to this list use the `org-babel-lob-ingest' command."
 
 ;; functions for executing lob one-liners
 
-(defvar org-babel-lob-one-liner-regexp "#\\+lob:[ \t]+\\(.+?\\)\(\\(.*\\)\)")
+(defvar org-babel-lob-one-liner-regexp "#\\+lob:[ \t]+\\([^\(\)\n]+\\)\(\\([^\n]+\\)\)[ \t]*\n")
 
 (defun org-babel-lob-execute-maybe ()
   "Detect if this is context for a org-babel Library Of Babel