lisp/ob.el: Fix org-babel-result-regexp to match users
commit3f614328985ce3932ed48583b84972b91a0ddb22
authorLawrence Mitchell <wence@gmx.li>
Thu, 2 Jun 2011 10:04:04 +0000 (2 11:04 +0100)
committerEric Schulte <schulte.eric@gmail.com>
Thu, 2 Jun 2011 18:07:21 +0000 (2 12:07 -0600)
treef03c5823725047e99a9de75a208bd309bf292770
parentcf708c72e5287b9fef0fe290d94fdb0b73674819
lisp/ob.el: Fix org-babel-result-regexp to match users

* lisp/ob.el (org-babel-result-regexp): Use non-shy group around
org-babel-data-names.

By default regexp-opt returns a shy group around its arguments.  But
users of org-babel-result-regexp expect the third match-string to
contain the hash.  With a shy group, the second match-string contains
the hash.
lisp/ob.el