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
1 changed files with 1 additions and 1 deletions

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