characters
char
Parse a single character.
charI
Parse a single character, case-insensitive and case-preserving. On success it returns the string cased as the actually parsed input.
eg charI('a'')->run("ABC") will succeed with "A", not "a".
controlChar
Parse a control character (a non-printing character of the Latin-1 subset of Unicode).
upperChar
Parse an uppercase character A-Z.
lowerChar
Parse a lowercase character a-z.
alphaChar
Parse an uppercase or lowercase character A-Z, a-z.
alphaNumChar
Parse an alpha or numeric character A-Z, a-z, 0-9.
printChar
Parse a printable ASCII char.
punctuationChar
Parse a single punctuation character !"#$%&'()*+,-./:;<=>?@[]^_`{|}~
digitChar
Parse 0-9. Returns the digit as a string. Use ->map('intval') or similar to cast it to a numeric type.
binDigitChar
Parse a binary character 0 or 1.
octDigitChar
Parse an octodecimal character 0-7.
hexDigitChar
Parse a hexadecimal numeric character 0123456789abcdefABCDEF.