Hi all, This patch fixes a bug where the regexp for parsing source blocks is too greedy on the body and so fails in the presence of empty code blocks. For instance given the following:
#+begin_src c
#+end_src
#+begin_src c hello world
#+end_src
, doing (org-babel-get-src-block-info) the first #+begin_src will include everything up to the second #+end_src as part of the body.