Regex
Regex is based on PCRE (Perl Compatible Regular Expressions) and built on top of Erlang's :re
module. More information can be found in the :re
module documentation.
Usage
The supported class names are:
alnum - Letters and digits
alpha - Letters
ascii - Character codes 0-127
blank - Space or tab only
cntrl - Control characters
digit - Decimal digits (same as \d)
graph - Printing characters, excluding space
lower - Lowercase letters
print - Printing characters, including space
punct - Printing characters, excluding letters, digits, and space
space - Whitespace (the same as \s from PCRE 8.34)
upper - Uppercase letters
word - "Word" characters (same as \w)
xdigit - Hexadecimal digits
Last updated