Greedy quantifiers 2, Reluctant quantifiers 2, Possessive quantifiers 2 – Brocade Network Advisor IP User Manual v12.1.0 User Manual
Page 1426: Logical operators 2
1372
Brocade Network Advisor IP User Manual
53-1002947-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 times
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