org-babel: avoid false positive matches for inline and #+lob constructs
commit70a5963563671f6a838c9a3ae091af0c8071477f
authorDan Davison <davison@stats.ox.ac.uk>
Sun, 25 Oct 2009 00:26:00 +0000 (24 20:26 -0400)
committerEric Schulte <schulte.eric@gmail.com>
Sun, 25 Oct 2009 16:47:07 +0000 (25 10:47 -0600)
treeba0de2b28a31168828f49c4e1936db0a65717e67
parent5f1ea1ce70c25b14a051d5d6cbb575f2bbe33264
org-babel: avoid false positive matches for inline and #+lob constructs

This forces the #+lob regexp to match at the beginning of a line (with
optional preceding whitespace), and requires inline code blocks to be
surrounded by some whitespace.
contrib/babel/lisp/org-babel-exp.el
contrib/babel/lisp/org-babel-lob.el
contrib/babel/lisp/org-babel.el