1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

org-babel: no longer consumes src-block reference strings during export

Before this change to `org-babel-src-block-regexp' any strings
  following src-block switches were being removed during export.
This commit is contained in:
Eric Schulte 2009-11-12 18:31:55 -07:00
parent eea7bf8d3f
commit 56a81ee65a

View File

@ -117,7 +117,7 @@ then run `org-babel-pop-to-session'."
(concat "^[ \t]*#\\+begin_src[ \t]+\\(" ;; (1) lang
(mapconcat 'regexp-quote value "\\|")
"\\)[ \t]*"
"\\([^:\n]*\\)" ;; (2) switches
"\\([^\":\n]*\"[^\"\n*]*\"[^\":\n]*\\|[^\":\n]*\\)" ;; (2) switches
"\\([^\n]*\\)\n" ;; (3) header arguments
"\\([^\000]+?\\)#\\+end_src")) ;; (4) body
(setq org-babel-inline-src-block-regexp