Allow matching of results with tags after the result name.

* lisp/ob-ref.el (org-babel-ref-resolve): Allow matching of results
  with tags after the result name.
This commit is contained in:
Eric Schulte 2011-08-23 08:26:52 -06:00
parent 76ab4dd422
commit b924b34b76
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ the variable."
(widen)
(goto-char (point-min))
(if (let* ((rx (regexp-quote ref))
(res-rx (concat org-babel-result-regexp rx "[ \t]*$"))
(res-rx (concat org-babel-result-regexp rx "[ \t]*.*$"))
(src-rx (concat org-babel-src-name-regexp
rx "\\(\(.*\)\\)?" "[ \t]*$")))
;; goto ref in the current buffer