ava/util/regex/Pattern.html#MULTILINE"><CODE>MULTILINE</CODE></A> mode <tt>$</tt>

 matches just before a line terminator or the end of the input sequence.

 <a name="cg">
 <h4> Groups and capturing </h4>

 <p> Capturing groups are numbered by counting their opening parentheses from
 left to right.  In the expression <tt>((A)(B(C)))</tt>, for example, there
 are four such groups: </p>

 <blockquote><table cellpadding=1 cellspacing=0 summary="Capturing group numberings">

 <tr><th>1&nbsp;&nbsp;&nbsp;&nbsp;</