regex-applicative-0.3.3.1: Regex-based parsing with applicative interface
Text.Regex.Applicative.Common
Contents
Description
Collection of commonly used regular expressions.
digit :: Num a => RE Char a Source #
Decimal digit, i.e. '0'..'9'
'0'
'9'
hexDigit :: Num a => RE Char a Source #
Hexadecimal digit i.e. '0'..'9', 'a'..'f', 'A'..'F'.
'a'
'f'
'A'
'F'
signed :: Num a => RE Char a -> RE Char a Source #
Add optional sign
decimal :: Num a => RE Char a Source #
Parse decimal number without sign.
hexadecimal :: Num a => RE Char a Source #