Java Reference
In-Depth Information
P
OSSESSIVE QUANTIFIERS
X
once or not at all
X
?+
X
zero or more times
X
*+
X
one or more times
X
++
X
exactly
n
times
X
{
n
}+
X
at least
n
times
X
(
n
,}+
X
at least
n
but not more than
m
times
X
{
n,m
}+
L
OGICAL OPERATORS
X
followed by
Y
XY
either
X
or
Y
X
|
Y
X
as a capturing group
(
X
)