Variable: haskell-lexeme-number

haskell-lexeme-number is a variable defined in haskell-lexeme.el.

Value

"\\(?:[0-9]+\\.[0-9]+\\)\\(?:[eE][-+]?[0-9]+\\)?\\|[0-9]+[eE][-+]?[0-9]+\\|0[xX][0-9a-fA-F]+\\|0[oO][0-7]+\\|[0-9]+"

Documentation

Regexp matching a floating point, decimal, octal or hexadecimal number.

Note that negative sign char is not part of a number.

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-lexeme.el
(defconst haskell-lexeme-number
  (rx (| (: (regexp "[0-9]+\\.[0-9]+") (opt (regexp "[eE][-+]?[0-9]+")))
         (regexp "[0-9]+[eE][-+]?[0-9]+")
         (regexp "0[xX][0-9a-fA-F]+")
         (regexp "0[oO][0-7]+")
         (regexp "[0-9]+")))
  "Regexp matching a floating point, decimal, octal or hexadecimal number.

Note that negative sign char is not part of a number.")