Expand description
Functions for ASCII character classes
Functions§
- alphabetic
- A function to match any alphabetic character (
[A-Za-z]
) - alphanumeric
- A function to match any alphanumeric character (
[0-9A-Za-z]
) - ascii
- A function to match any ascii digit (
[\x00-\x7F]
) - blank
- A function to match blank characters (
[\t ]
) - control
- A function to match control characters (
[\x00-\x1F\x7F]
) - graphical
- A function to match graphical characters (
[!-~]
) - hexdigit
- A function to match any digit that would appear in a hexadecimal number (
[A-Fa-f0-9]
) - lowercase
- A function to match any lowercase character (
[a-z]
) - non_
alphabetic - A function to match any non-alphabetic character (
[^A-Za-z]
) - non_
alphanumeric - A function to match any non-alphanumeric character (
[^0-9A-Za-z]
) - non_
ascii - A function to match any non-ascii digit (
[^\x00-\x7F]
) - non_
blank - A function to match non-blank characters (
[^\t ]
) - non_
control - A function to match non-control characters (
[^\x00-\x1F\x7F]
) - non_
graphical - A function to match non-graphical characters (
[^!-~]
) - non_
hexdigit - A function to match any digit that wouldn’t appear in a hexadecimal number (
[^A-Fa-f0-9]
) - non_
lowercase - A function to match any non-lowercase character (
[^a-z]
) - non_
printable - A function to match unprintable characters (
[^ -~]
) - non_
punctuation - A function to match non-punctuation (
[^!-/:-@\[-
{-~]`) - non_
uppercase - A function to match any non-uppercase character (
[^A-Z]
) - printable
- A function to match printable characters (
[ -~]
) - punctuation
- A function to match punctuation (
[!-/:-@\[-
{-~]`) - uppercase
- A function to match any uppercase character (
[A-Z]
)