Java Reference
In-Depth Information
G
REEDY QUANTIFIERS
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
}
R
ELUCTANT
Q
UANTIFIERS
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
time
X
{
n,m
}?