Common parsers that can be used in many contexts.
Matches an integer.
parse "42" int -- Ok 42
Matches a float.
parse "4.2" float -- Ok 4.2
Matches a "word", comprised of alphanumeric characters and _.
_
parse "hello world" word -- Ok "hello"
Matches valid ISO8601 datetimes.
Matches an alphabetic character.
Matches an alphanumeric character.
Matches a digit, e.g. 8.
8
Matches an uppercase alphabetic characters, e.g. A.
A
Matches a lowercase alphabetic characters, e.g. z.
z
Matches the space character, ``.
Matches the tab character, \t.
\t
Matches either a space or a tab.
Matches zero or more blank characters.
blank
Matches a newline character.
Matches an integer.