Brocade Network Advisor IP User Manual 1333
53-1003056-01
Appendix
F
Regular Expressions
In this appendix
This appendix presents a summary of Unicode regular expression constructs that you can use in
the Management application.
•Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1333
•Character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1334
•Predefined character classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1334
•POSIX character classes (US-ASCII only) . . . . . . . . . . . . . . . . . . . . . . . . . 1334
•java.lang.Character classes (simple java character type). . . . . . . . . . . . 1335
•Classes for Unicode blocks and categories. . . . . . . . . . . . . . . . . . . . . . . 1335
•Boundary matches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1335
•Greedy quantifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336
•Reluctant quantifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336
•Possessive quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336
•Logical operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336
•Back references. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1337
•Special constructs (non-capturing) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1337
TABLE 1 Characters
Construct Matches
xThe character x
\\ The backslash character
\0n The character with octal value 0n (0 <= n <= 7)
\0nn The character with octal value 0nn (0 <= n <= 7)
\0mnn The character with octal value 0mnn (0 <= m <= 3, 0 <= n <= 7)
\xhh The character with hexadecimal value 0xhh
\uhhhh The character with hexadecimal value 0xhhhh
\t The tab character ('\u0009')
\n The newline (line feed) character ('\u000A')
\r The carriage-return character ('\u000D')
\f The form-feed character ('\u000C')
\a The alert (bell) character ('\u0007')