Variable: eshell-number-regexp
eshell-number-regexp is a customizable variable defined in
esh-util.el.gz.
Value
"-?\\([0-9]*\\.\\)?[0-9]+\\(e[-0-9.]+\\)?"
Documentation
Regular expression used to match numeric arguments.
If eshell-convert-numeric-arguments is non-nil, and an argument
matches this regexp, it will be converted to a Lisp number, using the
function string-to-number.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defcustom eshell-number-regexp "-?\\([0-9]*\\.\\)?[0-9]+\\(e[-0-9.]+\\)?"
"Regular expression used to match numeric arguments.
If `eshell-convert-numeric-arguments' is non-nil, and an argument
matches this regexp, it will be converted to a Lisp number, using the
function `string-to-number'."
:type 'regexp)