Java Reference
In-Depth Information
B
OUNDARY MATCHERS
end of a line (if in multiline mode)
$
word boundary
\b
non-word boundary
\B
beginning of input
\A
end of previous match
\G
end of input except any final terminator
\Z
end of input
\z
G
REEDY QUANTIFIERS
X
once or not at all
X
?
X
zero or more times
X
*
X
one or more times
X
+