Java Reference
In-Depth Information
P
REDEFINED CHARACTER CLASSES
non-whitespace character;
[^\s]
\S
word character;
[a-zA-Z_0-9]
\w
non-word character;
[^\w]
\W
J
AVA CHARACTER CLASSES
as defined by
Character.isLowerCase
\p{javaLowerCase}
as defined by
Character.isUpperCase
\p{javaUpperCase}
as defined by
Character.isWhitespace
\p{javaWhitespace}
as defined by
Character.isMirrored
\p{javaMirrored}
POSIX
CHARACTER CLASSES (
US
-
ASCII
ONLY)
lowercase alphabetic character;
[a-z]
\p{Lower}