From b924b34b7688767f15a78fa62f6a2d9d0b784d2b Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Tue, 23 Aug 2011 08:26:52 -0600 Subject: [PATCH] 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. --- lisp/ob-ref.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-ref.el b/lisp/ob-ref.el index bf1379eae..0136d0277 100644 --- a/lisp/ob-ref.el +++ b/lisp/ob-ref.el @@ -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