1336 Brocade Network Advisor IP User Manual
53-1003056-01

Regular Expressions

F
TABLE 8 Greedy quantifiers
Construct Matches
X? X, once or not at all
X* X, zero or more times
X+ X, one or more times
X{n} X, exactly n times
X{n,} X, at least n times
X{n,m} X, at least n but not more than m times
TABLE 9 Reluctant quantifiers
Construct Matches
X?? X, once or not at all
X*? X, zero or more times
X+? X, one or more times
X{n}? X, exactly n times
X{n,}? X, at least n times
X{n,m}? X, at least n but not more than m times
TABLE 10 Possessive quantifiers
Construct Matches
X?+ X, once or not at all
X*+ X, zero or more times
X++ X, one or more times
X{n}+ X, exactly n times
X{n,}+ X, at least n time s
X{n,m}+ X, at least n but not more than m times
TABLE 11 Logical operators
Construct Matches
XY X followed by Y
X|Y Either X or Y
(X) X, as a capturing group