frisby-0.2: Linear time composable parser for PEG grammars

Safe HaskellNone
LanguageHaskell98

Text.Parsers.Frisby.Char

Description

Unicode character parsers. The character classification is identical to the classification in the Data.Char module.

Synopsis

Documentation

control :: P s Char Source

Match a control character.

space :: P s Char Source

Match a white-space character in the Latin-1 range.

lower :: P s Char Source

Match a lower-case alphabetic Unicode character.

upper :: P s Char Source

Match an upper-case or title-case alphabetic Unicode character.

alpha :: P s Char Source

Match an alphabetic Unicode character. Equivalent to letter.

alphaNum :: P s Char Source

Match an alphabetic or numeric digit Unicode character.

printable :: P s Char Source

Match a printable Unicode character.

digit :: P s Char Source

Match an ASCII digit.

octDigit :: P s Char Source

Match an ASCII octal digit.

hexDigit :: P s Char Source

Match an ASCII hexadecimal digit.

letter :: P s Char Source

Match an alphabetic Unicode character. Equivalent to alpha.

mark :: P s Char Source

Match a Unicode mark character.

number :: P s Char Source

Match a Unicode numeric character.

punctuation :: P s Char Source

Match a Unicode punctuation character.

symbol :: P s Char Source

Match a Unicode symbol character.

separator :: P s Char Source

Match a Unicode space or separator character.

ascii :: P s Char Source

Match a character of the ASCII character set.

latin1 :: P s Char Source

Match a character of the ISO 8859-1 (Latin-1) character set.

asciiUpper :: P s Char Source

Match an ASCII upper-case letter.

asciiLower :: P s Char Source

Match an ASCII lower-case letter.