eshell-lisp-regexp

eshell-lisp-regexp is a variable defined in `esh-cmd.el'.
Its value is
"\\([(`]\\|#'\\)"


Documentation:
A regexp which, if matched at beginning of an argument, means Lisp.
Such arguments will be passed to `read', and then evaluated.

You can customize this variable.