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

Page 1529: Appendix

Advertising
background image

Brocade Network Advisor IP User Manual

1477

53-1003153-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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1477

Character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1478

Predefined character classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1478

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

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

Classes for Unicode blocks and categories . . . . . . . . . . . . . . . . . . . . . . . . 1479

Boundary matches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1479

Greedy quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1480

Reluctant quantifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1480

Possessive quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1480

Logical operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1480

Back references. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1481

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

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