From 085b7e8d16f92f183857171e36c09ce92a03249a Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Mon, 16 Dec 2013 08:04:59 -0700 Subject: [PATCH] no spaces in call line names * lisp/ob-lob.el (org-babel-inline-lob-one-liner-regexp): Don't allow spaces in call line function names. --- lisp/ob-lob.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-lob.el b/lisp/ob-lob.el index d37940a18..296ee3fc3 100644 --- a/lisp/ob-lob.el +++ b/lisp/ob-lob.el @@ -71,8 +71,8 @@ To add files to this list use the `org-babel-lob-ingest' command." (defconst org-babel-inline-lob-one-liner-regexp (concat - "\\([^\n]*?\\)call_\\([^\(\)\n]+?\\)\\(\\[\\(.*?\\)\\]\\|\\(\\)\\)" - "\(\\([^\n]*?\\)\)\\(\\[\\(.*?\\)\\]\\)?") + "\\([^\n]*?\\)call_\\([^\(\)[:space:]\n]+?\\)\\(\\[\\(.*?\\)\\]\\|\\(\\)\\)" + "\(\\(.*?\\)\)\\(\\[\\(.*?\\)\\]\\)?") "Regexp to match inline calls to predefined source block functions.") (defconst org-babel-lob-one-liner-regexp -- 2.11.4.GIT