diff options
Diffstat (limited to 'lisp/ob-ocaml.el')
-rw-r--r-- | lisp/ob-ocaml.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ob-ocaml.el b/lisp/ob-ocaml.el index 9cd72b3..2831fcc 100644 --- a/lisp/ob-ocaml.el +++ b/lisp/ob-ocaml.el @@ -83,9 +83,9 @@ (mapcar #'org-babel-trim (reverse raw))))))) (raw (org-babel-trim clean)) (result-params (cdr (assoc :result-params params))) - (parsed - (string-match - "\\(\\(.*\n\\)*\\)[^:\n]+ : \\([^=\n]+\\) =\\(\n\\| \\)\\(.+\\)$" + (parsed + (string-match + "\\(\\(.*\n\\)*\\)[^:\n]+ : \\([^=\n]+\\) =\\(\n\\| \\)\\(.+\\)$" raw)) (output (match-string 1 raw)) (type (match-string 3 raw)) |