summaryrefslogtreecommitdiff
path: root/lisp/ob-lob.el
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-12-16 08:04:59 -0700
committerEric Schulte <schulte.eric@gmail.com>2013-12-16 08:04:59 -0700
commit085b7e8d16f92f183857171e36c09ce92a03249a (patch)
tree1ff23fc37e612753604c354fa4ed8a9408cd29b1 /lisp/ob-lob.el
parent5b9e79c8b846372c1089f662a21290a134eebec5 (diff)
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.
Diffstat (limited to 'lisp/ob-lob.el')
-rw-r--r--lisp/ob-lob.el4
1 files 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