Added Methods |
CharMatcher any()
|
Matches any character. |
CharMatcher ascii()
|
Determines whether a character is ASCII, meaning that its code point is less than 128. |
CharMatcher breakingWhitespace()
|
Determines whether a character is a breaking whitespace (that is, a whitespace which can be
interpreted as a break between words for formatting purposes). |
CharMatcher digit()
|
Determines whether a character is a digit according to
Unicode. |
CharMatcher invisible()
|
Determines whether a character is invisible; that is, if its Unicode category is any of
SPACE_SEPARATOR, LINE_SEPARATOR, PARAGRAPH_SEPARATOR, CONTROL, FORMAT, SURROGATE, and
PRIVATE_USE according to ICU4J. |
CharMatcher javaDigit()
|
Determines whether a character is a digit according to Character#isDigit(char)
Java's definition. |
CharMatcher javaIsoControl()
|
Determines whether a character is an ISO control character as specified by Character.isISOControl(char). |
CharMatcher javaLetter()
|
Determines whether a character is a letter according to Character#isLetter(char)
Java's definition. |
CharMatcher javaLetterOrDigit()
|
Determines whether a character is a letter or digit according to Character#isLetterOrDigit(char) Java's definition. |
CharMatcher javaLowerCase()
|
Determines whether a character is lower case according to Character#isLowerCase(char) Java's definition. |
CharMatcher javaUpperCase()
|
Determines whether a character is upper case according to Character#isUpperCase(char) Java's definition. |
CharMatcher none()
|
Matches no characters. |
CharMatcher singleWidth()
|
Determines whether a character is single-width (not double-width). |
CharMatcher whitespace()
|
Determines whether a character is whitespace according to the latest Unicode standard, as
illustrated here. |