Classes for unicode blocks and categories 7, Boundary matches 7 – Brocade Network Advisor SAN User Manual v12.1.0 User Manual
Page 1354
Brocade Network Advisor SAN User Manual
1307
53-1002948-01
Regular Expressions
F
\p{Blank}
A space or a tab: [ \t]
\p{Cntrl}
A control character: [\x00-\x1F\x7F]
\p{XDigit} A
hexadecimal digit: [0-9a-fA-F]
\p{Space}
A whitespace character: [ \t\n\x0B\f\r]
TABLE 5
java.lang.Character classes (simple java character type)
Construct
Matches
\p{javaLowerCase}
Equivalent to java.lang.Character.isLowerCase()
\p{javaUpperCase}
Equivalent to java.lang.Character.isUpperCase()
\p{javaWhitespace}
Equivalent to java.lang.Character.isWhitespace()
\p{javaMirrored}
Equivalent to java.lang.Character.isMirrored()
TABLE 6
Classes for Unicode blocks and categories
Construct
Matches
\p{InGreek}
A character in the Greek block (simple block)
\p{Lu}
An uppercase letter (simple category)
\p{Sc}
A currency symbol
\P{InGreek}
Any character except one in the Greek block (negation)
[\p{L}&&[^\p{Lu}]]
Any letter except an uppercase letter (subtraction)
TABLE 7
Boundary matches
Construct
Matches
^
The beginning of a line
$
The end of a line
\b
A word boundary
\B A
non-word
boundary
\A
The beginning of the input
\G
The end of the previous match
\Z
The end of the input but for the final terminator, if any
\z
The end of the input
TABLE 4
POSIX character classes (US-ASCII only)
Construct
Matches