Browse Source

ob-core: Allow spaces in NAME

* lisp/ob-core.el (org-babel-src-name-w-name-regexp): Allow spaces as
  NAME value.

Suggested-by: Joost Helberg <joost@snow.nl>
<http://permalink.gmane.org/gmane.emacs.orgmode/95175>
Nicolas Goaziou 3 years ago
parent
commit
7745ef04c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-core.el

+ 1 - 1
lisp/ob-core.el

@@ -192,7 +192,7 @@ This string must include a \"%s\" which will be replaced by the results."
 	  "\\("
 	  org-babel-multi-line-header-regexp
 	  "\\)*"
-	  "\\([^ ()\f\t\n\r\v]+\\)")
+	  "\\([^()\f\t\n\r\v]+\\)")
   "Regular expression matching source name lines with a name.")
 
 (defvar org-babel-src-block-regexp