Regular expressions, Appendix f, Appendix f, “regular expressions – Brocade Network Advisor SAN User Manual v12.3.0 User Manual

Page 1547: Appendix

Advertising
background image

Brocade Network Advisor SAN User Manual

1495

53-1003154-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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1495

Character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1496

Predefined character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1496

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

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

Classes for Unicode blocks and categories . . . . . . . . . . . . . . . . . . . . . . . . 1497

Boundary matches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1497

Greedy quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1498

Reluctant quantifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1498

Possessive quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1498

Logical operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1498

Back references. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1499

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

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