source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 21.4 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:35 NZST 2007 -->
6<TITLE>
7JakartaRegexpMatcher (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.util.regexp.JakartaRegexpMatcher class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="JakartaRegexpMatcher (Apache Ant API)";
18}
19</SCRIPT>
20
21</HEAD>
22
23<BODY BGCOLOR="white" onload="windowTitle();">
24
25
26<!-- ========= START OF TOP NAVBAR ======= -->
27<A NAME="navbar_top"><!-- --></A>
28<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30<TR>
31<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32<A NAME="navbar_top_firstrow"><!-- --></A>
33<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroRegexp.html" title="class in org.apache.tools.ant.util.regexp"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpRegexp.html" title="class in org.apache.tools.ant.util.regexp"><B>NEXT CLASS</B></A></FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="JakartaRegexpMatcher.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.util.regexp</FONT>
85<BR>
86Class JakartaRegexpMatcher</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.util.regexp.JakartaRegexpMatcher</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></DD>
93</DL>
94<DL>
95<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpRegexp.html" title="class in org.apache.tools.ant.util.regexp">JakartaRegexpRegexp</A></DD>
96</DL>
97<HR>
98<DL>
99<DT>public class <B>JakartaRegexpMatcher</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></DL>
100
101<P>
102Implementation of RegexpMatcher for Jakarta-Regexp.
103<P>
104
105<P>
106<HR>
107
108<P>
109<!-- ======== NESTED CLASS SUMMARY ======== -->
110
111
112<!-- =========== FIELD SUMMARY =========== -->
113
114<A NAME="field_summary"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117<TD COLSPAN=2><FONT SIZE="+2">
118<B>Field Summary</B></FONT></TD>
119</TR>
120</TABLE>
121&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.util.regexp.RegexpMatcher"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
124<TD><B>Fields inherited from interface org.apache.tools.ant.util.regexp.<A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></B></TD>
125</TR>
126<TR BGCOLOR="white" CLASS="TableRowColor">
127<TD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_CASE_INSENSITIVE">MATCH_CASE_INSENSITIVE</A>, <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_DEFAULT">MATCH_DEFAULT</A>, <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_MULTILINE">MATCH_MULTILINE</A>, <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_SINGLELINE">MATCH_SINGLELINE</A></CODE></TD>
128</TR>
129</TABLE>
130&nbsp;
131<!-- ======== CONSTRUCTOR SUMMARY ======== -->
132
133<A NAME="constructor_summary"><!-- --></A>
134<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136<TD COLSPAN=2><FONT SIZE="+2">
137<B>Constructor Summary</B></FONT></TD>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#JakartaRegexpMatcher()">JakartaRegexpMatcher</A></B>()</CODE>
141
142<BR>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
144</TR>
145</TABLE>
146&nbsp;
147<!-- ========== METHOD SUMMARY =========== -->
148
149<A NAME="method_summary"><!-- --></A>
150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152<TD COLSPAN=2><FONT SIZE="+2">
153<B>Method Summary</B></FONT></TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE>protected &nbsp;org.apache.regexp.RE</CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#getCompiledPattern(int)">getCompiledPattern</A></B>(int&nbsp;options)</CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile the pattern.</TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165<CODE>protected &nbsp;int</CODE></FONT></TD>
166<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#getCompilerOptions(int)">getCompilerOptions</A></B>(int&nbsp;options)</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert the generic options to the regex compiler specific options.</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
174<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#getGroups(java.lang.String)">getGroups</A></B>(java.lang.String&nbsp;argument)</CODE>
175
176<BR>
177&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a Vector of matched groups found in the argument
178 using default options.</TD>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
183<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#getGroups(java.lang.String, int)">getGroups</A></B>(java.lang.String&nbsp;input,
184 int&nbsp;options)</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a Vector of matched groups found in the argument.</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#getPattern()">getPattern</A></B>()</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a String representation of the regexp pattern</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;boolean</CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#matches(java.lang.String)">matches</A></B>(java.lang.String&nbsp;argument)</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Does the given argument match the pattern?</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;boolean</CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#matches(java.lang.String, int)">matches</A></B>(java.lang.String&nbsp;input,
209 int&nbsp;options)</CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Does the given argument match the pattern?</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>&nbsp;void</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpMatcher.html#setPattern(java.lang.String)">setPattern</A></B>(java.lang.String&nbsp;pattern)</CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the regexp pattern from the String description.</TD>
221</TR>
222</TABLE>
223&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
224<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
225<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
226<TD><B>Methods inherited from class java.lang.Object</B></TD>
227</TR>
228<TR BGCOLOR="white" CLASS="TableRowColor">
229<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
230</TR>
231</TABLE>
232&nbsp;
233<P>
234
235<!-- ============ FIELD DETAIL =========== -->
236
237
238<!-- ========= CONSTRUCTOR DETAIL ======== -->
239
240<A NAME="constructor_detail"><!-- --></A>
241<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
242<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
243<TD COLSPAN=1><FONT SIZE="+2">
244<B>Constructor Detail</B></FONT></TD>
245</TR>
246</TABLE>
247
248<A NAME="JakartaRegexpMatcher()"><!-- --></A><H3>
249JakartaRegexpMatcher</H3>
250<PRE>
251public <B>JakartaRegexpMatcher</B>()</PRE>
252<DL>
253</DL>
254
255<!-- ============ METHOD DETAIL ========== -->
256
257<A NAME="method_detail"><!-- --></A>
258<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
259<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
260<TD COLSPAN=1><FONT SIZE="+2">
261<B>Method Detail</B></FONT></TD>
262</TR>
263</TABLE>
264
265<A NAME="setPattern(java.lang.String)"><!-- --></A><H3>
266setPattern</H3>
267<PRE>
268public void <B>setPattern</B>(java.lang.String&nbsp;pattern)</PRE>
269<DL>
270<DD>Set the regexp pattern from the String description.
271<P>
272<DD><DL>
273<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#setPattern(java.lang.String)">setPattern</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
274</DD>
275<DD><DL>
276<DT><B>Parameters:</B><DD><CODE>pattern</CODE> - the pattern to match</DL>
277</DD>
278</DL>
279<HR>
280
281<A NAME="getPattern()"><!-- --></A><H3>
282getPattern</H3>
283<PRE>
284public java.lang.String <B>getPattern</B>()</PRE>
285<DL>
286<DD>Get a String representation of the regexp pattern
287<P>
288<DD><DL>
289<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#getPattern()">getPattern</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
290</DD>
291<DD><DL>
292
293<DT><B>Returns:</B><DD>the pattern</DL>
294</DD>
295</DL>
296<HR>
297
298<A NAME="getCompiledPattern(int)"><!-- --></A><H3>
299getCompiledPattern</H3>
300<PRE>
301protected org.apache.regexp.RE <B>getCompiledPattern</B>(int&nbsp;options)
302 throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
303<DL>
304<DD>Compile the pattern.
305<P>
306<DD><DL>
307</DL>
308</DD>
309<DD><DL>
310<DT><B>Parameters:</B><DD><CODE>options</CODE> - the ant regexp options
311<DT><B>Returns:</B><DD>a compiled pattern
312<DT><B>Throws:</B>
313<DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if an error occurs</DL>
314</DD>
315</DL>
316<HR>
317
318<A NAME="matches(java.lang.String)"><!-- --></A><H3>
319matches</H3>
320<PRE>
321public boolean <B>matches</B>(java.lang.String&nbsp;argument)
322 throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
323<DL>
324<DD>Does the given argument match the pattern?
325<P>
326<DD><DL>
327<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#matches(java.lang.String)">matches</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
328</DD>
329<DD><DL>
330<DT><B>Parameters:</B><DD><CODE>argument</CODE> - the string to match against
331<DT><B>Returns:</B><DD>true if the pattern matches
332<DT><B>Throws:</B>
333<DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
334</DD>
335</DL>
336<HR>
337
338<A NAME="matches(java.lang.String, int)"><!-- --></A><H3>
339matches</H3>
340<PRE>
341public boolean <B>matches</B>(java.lang.String&nbsp;input,
342 int&nbsp;options)
343 throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
344<DL>
345<DD>Does the given argument match the pattern?
346<P>
347<DD><DL>
348<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#matches(java.lang.String, int)">matches</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
349</DD>
350<DD><DL>
351<DT><B>Parameters:</B><DD><CODE>input</CODE> - the string to match against<DD><CODE>options</CODE> - the regex options to use
352<DT><B>Returns:</B><DD>true if the pattern matches
353<DT><B>Throws:</B>
354<DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
355</DD>
356</DL>
357<HR>
358
359<A NAME="getGroups(java.lang.String)"><!-- --></A><H3>
360getGroups</H3>
361<PRE>
362public java.util.Vector <B>getGroups</B>(java.lang.String&nbsp;argument)
363 throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
364<DL>
365<DD>Returns a Vector of matched groups found in the argument
366 using default options.
367
368 <p>Group 0 will be the full match, the rest are the
369 parenthesized subexpressions</p>.
370<P>
371<DD><DL>
372<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#getGroups(java.lang.String)">getGroups</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
373</DD>
374<DD><DL>
375<DT><B>Parameters:</B><DD><CODE>argument</CODE> - the string to match against
376<DT><B>Returns:</B><DD>the vector of groups
377<DT><B>Throws:</B>
378<DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
379</DD>
380</DL>
381<HR>
382
383<A NAME="getGroups(java.lang.String, int)"><!-- --></A><H3>
384getGroups</H3>
385<PRE>
386public java.util.Vector <B>getGroups</B>(java.lang.String&nbsp;input,
387 int&nbsp;options)
388 throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
389<DL>
390<DD>Returns a Vector of matched groups found in the argument.
391
392 <p>Group 0 will be the full match, the rest are the
393 parenthesized subexpressions</p>.
394<P>
395<DD><DL>
396<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#getGroups(java.lang.String, int)">getGroups</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
397</DD>
398<DD><DL>
399<DT><B>Parameters:</B><DD><CODE>input</CODE> - the string to match against<DD><CODE>options</CODE> - the regex options to use
400<DT><B>Returns:</B><DD>the vector of groups
401<DT><B>Throws:</B>
402<DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
403</DD>
404</DL>
405<HR>
406
407<A NAME="getCompilerOptions(int)"><!-- --></A><H3>
408getCompilerOptions</H3>
409<PRE>
410protected int <B>getCompilerOptions</B>(int&nbsp;options)</PRE>
411<DL>
412<DD>Convert the generic options to the regex compiler specific options.
413<P>
414<DD><DL>
415</DL>
416</DD>
417<DD><DL>
418<DT><B>Parameters:</B><DD><CODE>options</CODE> - the generic options
419<DT><B>Returns:</B><DD>the specific options</DL>
420</DD>
421</DL>
422<!-- ========= END OF CLASS DATA ========= -->
423<HR>
424
425
426<!-- ======= START OF BOTTOM NAVBAR ====== -->
427<A NAME="navbar_bottom"><!-- --></A>
428<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
429<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
430<TR>
431<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
432<A NAME="navbar_bottom_firstrow"><!-- --></A>
433<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
434 <TR ALIGN="center" VALIGN="top">
435 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
436 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
437 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
438 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
439 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
440 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
441 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
442 </TR>
443</TABLE>
444</TD>
445<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
446</EM>
447</TD>
448</TR>
449
450<TR>
451<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
452&nbsp;<A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroRegexp.html" title="class in org.apache.tools.ant.util.regexp"><B>PREV CLASS</B></A>&nbsp;
453&nbsp;<A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaRegexpRegexp.html" title="class in org.apache.tools.ant.util.regexp"><B>NEXT CLASS</B></A></FONT></TD>
454<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
455 <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
456&nbsp;<A HREF="JakartaRegexpMatcher.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
457&nbsp;<SCRIPT type="text/javascript">
458 <!--
459 if(window==top) {
460 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
461 }
462 //-->
463</SCRIPT>
464<NOSCRIPT>
465 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
466</NOSCRIPT>
467
468</FONT></TD>
469</TR>
470<TR>
471<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
472 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
473<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
474DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
475</TR>
476</TABLE>
477<A NAME="skip-navbar_bottom"></A>
478<!-- ======== END OF BOTTOM NAVBAR ======= -->
479
480<HR>
481Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
482</BODY>
483</HTML>
Note: See TracBrowser for help on using the repository browser.