Mercurial > emacs
changeset 37659:7dc0e015c205
(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.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Thu, 10 May 2001 03:30:15 +0000 |
parents | f9277090a94a |
children | 55a6794cb94d |
files | lisp/eshell/esh-util.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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