# HG changeset patch # User John Wiegley # Date 989465415 0 # Node ID 7dc0e015c205b259b9d3f1ea08876548ccd0c982 # Parent f9277090a94a475e97168939f24ec9c24af59407 (eshell-number-regexp): Now that number conversions only happen for Lisp function calls, the number regexp should now match all integer and floating point forms. diff -r f9277090a94a -r 7dc0e015c205 lisp/eshell/esh-util.el --- a/lisp/eshell/esh-util.el Thu May 10 03:29:55 2001 +0000 +++ b/lisp/eshell/esh-util.el Thu May 10 03:30:15 2001 +0000 @@ -88,7 +88,7 @@ :type 'boolean :group 'eshell-util) -(defcustom eshell-number-regexp "\\(0\\|-?[1-9][0-9]*\\(\\.[0-9]+\\)?\\)" +(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