Don't match partial names when resolving code or data references
authorEric Schulte <schulte.eric@gmail.com>
Wed, 16 Nov 2011 13:15:31 +0000 (06:15 -0700)
committerEric Schulte <schulte.eric@gmail.com>
Wed, 16 Nov 2011 13:15:31 +0000 (06:15 -0700)
commit7c21098323bf0097c7903b014564cd6056bda374
tree7875cba25dd743d3a828874c6c3f59c506041b48
parent19884ab280f3f255f6a56320fd4b93e692bed9b6
Don't match partial names when resolving code or data references

* lisp/ob.el (org-babel-named-src-block-regexp-for-name): Ensure that
  partial names are not matched.
  (org-babel-named-data-regexp-for-name): Ensure that partial names
  are not matched.
* testing/lisp/test-ob.el (test-ob/do-not-resolve-to-partial-names-data):
  Test to ensure that partial names are not matched.
lisp/ob.el
testing/lisp/test-ob.el