bring back org-ts-regep fix lost in merge

* lisp/ob-core.el (org-babel-result-regexp): Bring back Bastien's
  hackish fix from commit c17e07e9 which was accidentally dropped in a
  merge.
This commit is contained in:
Eric Schulte 2013-02-09 16:05:44 -07:00
parent cb3e647734
commit 728c0eb693
1 changed files with 4 additions and 1 deletions

View File

@ -455,7 +455,10 @@ specific header arguments as well.")
(defvar org-babel-result-regexp
(concat "^[ \t]*#\\+"
(regexp-opt org-babel-data-names t)
"\\(\\[\\("org-ts-regexp " \\)?\\([[:alnum:]]+\\)\\]\\)?\\:[ \t]*")
"\\(\\[\\("
;; FIXME The string below is `org-ts-regexp'
"<\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^\r\n>]*?\\)>"
" \\)?\\([[:alnum:]]+\\)\\]\\)?\\:[ \t]*")
"Regular expression used to match result lines.
If the results are associated with a hash key then the hash will
be saved in the second match data.")