Variable: org-babel-result-regexp
org-babel-result-regexp is a variable defined in ob-core.el.gz.
Value
"^[ ]*#\\+results\\(?:\\[\\(?:([[:digit:]]\\{4\\}\\(?:-[[:digit:]]\\{2\\}\\)\\{2\\} [[:digit:]]\\{2\\}\\(?::[[:digit:]]\\{2\\}\\)\\{2\\}) \\)?\\([[:xdigit:]]+\\)]\\)?:[ ]*"
Documentation
Regular expression used to match result lines.
If the results are associated with a hash key then the hash will be saved in match group 1.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defconst org-babel-result-regexp
(rx (seq bol
(zero-or-more (any "\t "))
"#+results"
(opt "["
;; Time stamp part.
(opt "("
(= 4 digit) (= 2 "-" (= 2 digit))
" "
(= 2 digit) (= 2 ":" (= 2 digit))
") ")
;; SHA1 hash.
(group (one-or-more hex-digit))
"]")
":"
(zero-or-more (any "\t "))))
"Regular expression used to match result lines.
If the results are associated with a hash key then the hash will
be saved in match group 1.")