Regular expressions, Appendix f, Appendix f, “regular expressions – Brocade Network Advisor IP User Manual v12.1.0 User Manual

Page 1423: Appendix

Advertising
background image

Brocade Network Advisor IP User Manual

1369

53-1002947-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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1369

Character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1370

Predefined character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1370

POSIX character classes (US-ASCII only) . . . . . . . . . . . . . . . . . . . . . . . . . 1370

java.lang.Character classes (simple java character type). . . . . . . . . . . . . 1371

Classes for Unicode blocks and categories . . . . . . . . . . . . . . . . . . . . . . . . 1371

Boundary matches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1371

Greedy quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1372

Reluctant quantifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1372

Possessive quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1372

Logical operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1372

Back references. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373

Special constructs (non-capturing) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373

TABLE 1

Characters

Construct

Matches

x

The 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')

Advertising