Regular Expressions
This appendix presents a summary of Unicode regular expression constructs that you can use in
the Management application.
TABLE 56
Construct
x
\\
\0n
\0nn
\0mnn
\xhh
\uhhhh
\t
\n
\r
\f
\a
\e
\cx
Brocade Network Advisor SAN User Manual
53-1002167-01
•
Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 983
•
Character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 984
•
Pre-defined character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 984
•
POSIX character classes (US-ASCII only) . . . . . . . . . . . . . . . . . . . . . . . . . . . 984
•
java.lang.Character classes (simple java character type). . . . . . . . . . . . . . 985
•
Classes for Unicode blocks and categories . . . . . . . . . . . . . . . . . . . . . . . . . 985
•
Boundary matches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 985
•
Greedy quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 985
•
Reluctant quantifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 986
•
Possessive quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 986
•
Logical operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 986
•
Back references. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 986
•
Special constructs (non-capturing) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 987
Characters
Matches
The character x
The backslash character
The character with octal value 0n (0 <= n <= 7)
The character with octal value 0nn (0 <= n <= 7)
The character with octal value 0mnn (0 <= m <= 3, 0 <= n <= 7)
The character with hexadecimal value 0xhh
The character with hexadecimal value 0xhhhh
The tab character ('\u0009')
The newline (line feed) character ('\u000A')
The carriage-return character ('\u000D')
The form-feed character ('\u000C')
The alert (bell) character ('\u0007')
The escape character ('\u001B')
The control character corresponding to x
Appendix
D
983