aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/eshell/esh-util.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 440cf01d607..62c72af02ca 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -88,7 +88,7 @@ Numeric form is tested using the regular expression
88 :type 'boolean 88 :type 'boolean
89 :group 'eshell-util) 89 :group 'eshell-util)
90 90
91(defcustom eshell-number-regexp "\\(0\\|-?[1-9][0-9]*\\(\\.[0-9]+\\)?\\)" 91(defcustom eshell-number-regexp "-?\\([0-9]*\\.\\)?[0-9]+\\(e[-0-9.]+\\)?"
92 "*Regular expression used to match numeric arguments. 92 "*Regular expression used to match numeric arguments.
93If `eshell-convert-numeric-arguments' is non-nil, and an argument 93If `eshell-convert-numeric-arguments' is non-nil, and an argument
94matches this regexp, it will be converted to a Lisp number, using the 94matches this regexp, it will be converted to a Lisp number, using the