Module
StringParser.CodeUnits
- Package
- purescript-string-parsers
- Repository
- purescript-contrib/purescript-string-parsers
Primitive parsers for strings, parsing based on code units.
These functions will be much faster than the CodePoints
alternatives, but
will behave incorrectly when dealing with Unicode characters that consist
of multiple code units.
#whiteSpace Source
whiteSpace :: Parser String
Match many whitespace characters.
#skipSpaces Source
skipSpaces :: Parser Unit
Skip many whitespace characters.
#lowerCaseChar Source
lowerCaseChar :: Parser Char
Match any lower case character.
#upperCaseChar Source
upperCaseChar :: Parser Char
Match any upper case character.