org-babel-src-name-w-name-regexp

org-babel-src-name-w-name-regexp is a variable defined in `ob-core.el'.
Its value is

"^[ ]*#\\+name:[ ]*\\(^[ ]*#\\+headers?:[ ]*\\([^\n]*\\)$\\)*\\([^ ()\f \n ]+\\)"


Documentation:
Regular expression matching source name lines with a name.