Debian Codegraph @

docs/api/jregex/Pattern.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc on Sun Jun 16 19:34:42 GMT+04:00 2002 -->
6 <TITLE>
7 : Class Pattern
8 </TITLE>
9 <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
10 </HEAD>
11 <BODY BGCOLOR="white">
12
13 <!-- ========== START OF NAVBAR ========== -->
14 <A NAME="navbar_top"><!-- --></A>
15 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
16 <TR>
17 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18 <A NAME="navbar_top_firstrow"><!-- --></A>
19 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20 <TR ALIGN="center" VALIGN="top">
21 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
22 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
23 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
24 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
25 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
26 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
27 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
28 </TR>
29 </TABLE>
30 </TD>
31 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
32 </EM>
33 </TD>
34 </TR>
35
36 <TR>
37 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
38 &nbsp;<A HREF="../jregex/Optimizer.html"><B>PREV CLASS</B></A>&nbsp;
39 &nbsp;<A HREF="../jregex/PerlSubstitution.html"><B>NEXT CLASS</B></A></FONT></TD>
40 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
41 <A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
42 &nbsp;<A HREF="Pattern.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
43 </TR>
44 <TR>
45 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
46 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
47 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
48 DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
49 </TR>
50 </TABLE>
51 <!-- =========== END OF NAVBAR =========== -->
52
53 <HR>
54 <!-- ======== START OF CLASS DATA ======== -->
55 <H2>
56 <FONT SIZE="-1">
57 jregex</FONT>
58 <BR>
59 Class Pattern</H2>
60 <PRE>
61 java.lang.Object
62 |
63 +--<B>jregex.Pattern</B>
64 </PRE>
65 <DL>
66 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../jregex/REFlags.html">REFlags</A>, java.io.Serializable</DD>
67 </DL>
68 <DL>
69 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../jregex/util/io/PathPattern.html">PathPattern</A>, <A HREF="../jregex/WildcardPattern.html">WildcardPattern</A></DD>
70 </DL>
71 <HR>
72 <DL>
73 <DT>public class <B>Pattern</B><DT>extends java.lang.Object<DT>implements java.io.Serializable, <A HREF="../jregex/REFlags.html">REFlags</A></DL>
74
75 <P>
76 A handle for a precompiled regular expression.<br>
77 To match a regular expression <code>myExpr</code> against a text <code>myString</code> one should first create a Pattern object:<pre>
78 Pattern p=new Pattern(myExpr);
79 </pre>
80 then obtain a Matcher object:<pre>
81 Matcher matcher=p.matcher(myText);
82 </pre>
83 The latter is an automaton that actually performs a search. It provides the following methods:
84 <li> search for matching substrings : matcher.find() or matcher.findAll();
85 <li> test whether the text matches the whole pattern : matcher.matches();
86 <li> test whether the text matches the beginning of the pattern : matcher.matchesPrefix();
87 <li> search with custom options : matcher.find(int options)
88 <p>
89 <b>Flags</b><br>
90 Flags (see REFlags interface) change the meaning of some regular expression elements at compiletime.
91 These flags may be passed both as string(see Pattern(String,String)) and as bitwise OR of:
92 <li><b>REFlags.IGNORE_CASE</b> - enables case insensitivity
93 <li><b>REFlags.MULTILINE</b> - forces "^" and "$" to match both at the start and the end of line;
94 <li><b>REFlags.DOTALL</b> - forces "." to match eols('\r' and '\n' in ASCII);
95 <li><b>REFlags.IGNORE_SPACES</b> - literal spaces in expression are ignored for better readability;
96 <li><b>REFlags.UNICODE</b> - the predefined classes('\w','\d',etc) are referenced to Unicode;
97 <li><b>REFlags.XML_SCHEMA</b> - permits XML Schema regular expressions syntax extentions.
98 <p>
99 <b>Multithreading</b><br>
100 Pattern instances are thread-safe, i.e. the same Pattern object may be used
101 by any number of threads simultaniously. On the other hand, the Matcher objects
102 are NOT thread safe, so, given a Pattern instance, each thread must obtain
103 and use its own Matcher.
104 <P>
105 <DL>
106 <DT><B>See Also: </B><DD><A HREF="../jregex/REFlags.html"><CODE>REFlags</CODE></A>,
107 <A HREF="../jregex/Matcher.html"><CODE>Matcher</CODE></A>,
108 <A HREF="../jregex/Matcher.html#setTarget(java.lang.String)"><CODE>Matcher.setTarget(java.lang.String)</CODE></A>,
109 <A HREF="../jregex/Matcher.html#setTarget(java.lang.String, int, int)"><CODE>Matcher.setTarget(java.lang.String,int,int)</CODE></A>,
110 <A HREF="../jregex/Matcher.html#setTarget(char[], int, int)"><CODE>Matcher.setTarget(char[],int,int)</CODE></A>,
111 <A HREF="../jregex/Matcher.html#setTarget(java.io.Reader, int)"><CODE>Matcher.setTarget(java.io.Reader,int)</CODE></A>,
112 <A HREF="../jregex/MatchResult.html"><CODE>MatchResult</CODE></A>,
113 <A HREF="../jregex/MatchResult.html#group(int)"><CODE>MatchResult.group(int)</CODE></A>,
114 <A HREF="../jregex/MatchResult.html#start(int)"><CODE>MatchResult.start(int)</CODE></A>,
115 <A HREF="../jregex/MatchResult.html#end(int)"><CODE>MatchResult.end(int)</CODE></A>,
116 <A HREF="../jregex/MatchResult.html#length(int)"><CODE>MatchResult.length(int)</CODE></A>,
117 <A HREF="../jregex/MatchResult.html#charAt(int, int)"><CODE>MatchResult.charAt(int,int)</CODE></A>,
118 <A HREF="../jregex/MatchResult.html#prefix()"><CODE>MatchResult.prefix()</CODE></A>,
119 <A HREF="../jregex/MatchResult.html#suffix()"><CODE>MatchResult.suffix()</CODE></A>, <A HREF="../serialized-form.html#jregex.Pattern">Serialized Form</A></DL>
120 <HR>
121
122 <P>
123 <!-- ======== INNER CLASS SUMMARY ======== -->
124
125
126 <!-- =========== FIELD SUMMARY =========== -->
127
128 <A NAME="fields_inherited_from_class_jregex.REFlags"><!-- --></A>
129 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
130 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
131 <TD><B>Fields inherited from interface jregex.<A HREF="../jregex/REFlags.html">REFlags</A></B></TD>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD><CODE><A HREF="../jregex/REFlags.html#DEFAULT">DEFAULT</A>, <A HREF="../jregex/REFlags.html#DOTALL">DOTALL</A>, <A HREF="../jregex/REFlags.html#IGNORE_CASE">IGNORE_CASE</A>, <A HREF="../jregex/REFlags.html#IGNORE_SPACES">IGNORE_SPACES</A>, <A HREF="../jregex/REFlags.html#MULTILINE">MULTILINE</A>, <A HREF="../jregex/REFlags.html#UNICODE">UNICODE</A>, <A HREF="../jregex/REFlags.html#XML_SCHEMA">XML_SCHEMA</A></CODE></TD>
135 </TR>
136 </TABLE>
137 &nbsp;
138 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
139
140 <A NAME="constructor_summary"><!-- --></A>
141 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
142 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143 <TD COLSPAN=2><FONT SIZE="+2">
144 <B>Constructor Summary</B></FONT></TD>
145 </TR>
146 <TR BGCOLOR="white" CLASS="TableRowColor">
147 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148 <CODE>protected </CODE></FONT></TD>
149 <TD><CODE><B><A HREF="../jregex/Pattern.html#Pattern()">Pattern</A></B>()</CODE>
150
151 <BR>
152 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
153 </TR>
154 <TR BGCOLOR="white" CLASS="TableRowColor">
155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156 <CODE>&nbsp;</CODE></FONT></TD>
157 <TD><CODE><B><A HREF="../jregex/Pattern.html#Pattern(java.lang.String)">Pattern</A></B>(java.lang.String&nbsp;regex)</CODE>
158
159 <BR>
160 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles an expression with default flags.</TD>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164 <CODE>&nbsp;</CODE></FONT></TD>
165 <TD><CODE><B><A HREF="../jregex/Pattern.html#Pattern(java.lang.String, int)">Pattern</A></B>(java.lang.String&nbsp;regex,
166 int&nbsp;flags)</CODE>
167
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles a regular expression using REFlags.
170 </TD>
171 </TR>
172 <TR BGCOLOR="white" CLASS="TableRowColor">
173 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174 <CODE>&nbsp;</CODE></FONT></TD>
175 <TD><CODE><B><A HREF="../jregex/Pattern.html#Pattern(java.lang.String, java.lang.String)">Pattern</A></B>(java.lang.String&nbsp;regex,
176 java.lang.String&nbsp;flags)</CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles a regular expression using Perl5-style flags.
180 </TD>
181 </TR>
182 </TABLE>
183 &nbsp;
184 <!-- ========== METHOD SUMMARY =========== -->
185
186 <A NAME="method_summary"><!-- --></A>
187 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
188 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
189 <TD COLSPAN=2><FONT SIZE="+2">
190 <B>Method Summary</B></FONT></TD>
191 </TR>
192 <TR BGCOLOR="white" CLASS="TableRowColor">
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194 <CODE>protected &nbsp;void</CODE></FONT></TD>
195 <TD><CODE><B><A HREF="../jregex/Pattern.html#compile(java.lang.String, int)">compile</A></B>(java.lang.String&nbsp;regex,
196 int&nbsp;flags)</CODE>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>&nbsp;int</CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../jregex/Pattern.html#groupCount()">groupCount</A></B>()</CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How many capturing groups this expression includes?</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>&nbsp;java.lang.Integer</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../jregex/Pattern.html#groupId(java.lang.String)">groupId</A></B>(java.lang.String&nbsp;name)</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get numeric id for a group name.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;<A HREF="../jregex/Matcher.html">Matcher</A></CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../jregex/Pattern.html#matcher()">matcher</A></B>()</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a targetless matcher.
224 </TD>
225 </TR>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228 <CODE>&nbsp;<A HREF="../jregex/Matcher.html">Matcher</A></CODE></FONT></TD>
229 <TD><CODE><B><A HREF="../jregex/Pattern.html#matcher(char[], int, int)">matcher</A></B>(char[]&nbsp;data,
230 int&nbsp;start,
231 int&nbsp;end)</CODE>
232
233 <BR>
234 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a matcher for a specified region.</TD>
235 </TR>
236 <TR BGCOLOR="white" CLASS="TableRowColor">
237 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238 <CODE>&nbsp;<A HREF="../jregex/Matcher.html">Matcher</A></CODE></FONT></TD>
239 <TD><CODE><B><A HREF="../jregex/Pattern.html#matcher(jregex.MatchResult, int)">matcher</A></B>(<A HREF="../jregex/MatchResult.html">MatchResult</A>&nbsp;res,
240 int&nbsp;groupId)</CODE>
241
242 <BR>
243 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a matcher for a match result (in a performance-friendly way).
244 </TD>
245 </TR>
246 <TR BGCOLOR="white" CLASS="TableRowColor">
247 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248 <CODE>&nbsp;<A HREF="../jregex/Matcher.html">Matcher</A></CODE></FONT></TD>
249 <TD><CODE><B><A HREF="../jregex/Pattern.html#matcher(jregex.MatchResult, java.lang.String)">matcher</A></B>(<A HREF="../jregex/MatchResult.html">MatchResult</A>&nbsp;res,
250 java.lang.String&nbsp;groupName)</CODE>
251
252 <BR>
253 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just as above, yet with symbolic group name.</TD>
254 </TR>
255 <TR BGCOLOR="white" CLASS="TableRowColor">
256 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257 <CODE>&nbsp;<A HREF="../jregex/Matcher.html">Matcher</A></CODE></FONT></TD>
258 <TD><CODE><B><A HREF="../jregex/Pattern.html#matcher(java.io.Reader, int)">matcher</A></B>(java.io.Reader&nbsp;text,
259 int&nbsp;length)</CODE>
260
261 <BR>
262 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a matcher taking a text stream as target.
263 </TD>
264 </TR>
265 <TR BGCOLOR="white" CLASS="TableRowColor">
266 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
267 <CODE>&nbsp;<A HREF="../jregex/Matcher.html">Matcher</A></CODE></FONT></TD>
268 <TD><CODE><B><A HREF="../jregex/Pattern.html#matcher(java.lang.String)">matcher</A></B>(java.lang.String&nbsp;s)</CODE>
269
270 <BR>
271 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a matcher for a specified string.</TD>
272 </TR>
273 <TR BGCOLOR="white" CLASS="TableRowColor">
274 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
275 <CODE>&nbsp;boolean</CODE></FONT></TD>
276 <TD><CODE><B><A HREF="../jregex/Pattern.html#matches(java.lang.String)">matches</A></B>(java.lang.String&nbsp;s)</CODE>
277
278 <BR>
279 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A shorthand for Pattern.matcher(String).matches().<br></TD>
280 </TR>
281 <TR BGCOLOR="white" CLASS="TableRowColor">
282 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
283 <CODE>&nbsp;<A HREF="../jregex/Replacer.html">Replacer</A></CODE></FONT></TD>
284 <TD><CODE><B><A HREF="../jregex/Pattern.html#replacer(java.lang.String)">replacer</A></B>(java.lang.String&nbsp;expr)</CODE>
285
286 <BR>
287 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a replacer of a pattern by specified perl-like expression.
288 </TD>
289 </TR>
290 <TR BGCOLOR="white" CLASS="TableRowColor">
291 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292 <CODE>&nbsp;<A HREF="../jregex/Replacer.html">Replacer</A></CODE></FONT></TD>
293 <TD><CODE><B><A HREF="../jregex/Pattern.html#replacer(jregex.Substitution)">replacer</A></B>(<A HREF="../jregex/Substitution.html">Substitution</A>&nbsp;model)</CODE>
294
295 <BR>
296 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a replacer will substitute all occurences of a pattern
297 through applying a user-defined substitution model.</TD>
298 </TR>
299 <TR BGCOLOR="white" CLASS="TableRowColor">
300 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301 <CODE>&nbsp;boolean</CODE></FONT></TD>
302 <TD><CODE><B><A HREF="../jregex/Pattern.html#startsWith(java.lang.String)">startsWith</A></B>(java.lang.String&nbsp;s)</CODE>
303
304 <BR>
305 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A shorthand for Pattern.matcher(String).matchesPrefix().<br></TD>
306 </TR>
307 <TR BGCOLOR="white" CLASS="TableRowColor">
308 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
309 <CODE>&nbsp;<A HREF="../jregex/RETokenizer.html">RETokenizer</A></CODE></FONT></TD>
310 <TD><CODE><B><A HREF="../jregex/Pattern.html#tokenizer(char[], int, int)">tokenizer</A></B>(char[]&nbsp;data,
311 int&nbsp;off,
312 int&nbsp;len)</CODE>
313
314 <BR>
315 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tokenizes a specified region by an occurences of the pattern.
316 </TD>
317 </TR>
318 <TR BGCOLOR="white" CLASS="TableRowColor">
319 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320 <CODE>&nbsp;<A HREF="../jregex/RETokenizer.html">RETokenizer</A></CODE></FONT></TD>
321 <TD><CODE><B><A HREF="../jregex/Pattern.html#tokenizer(java.io.Reader, int)">tokenizer</A></B>(java.io.Reader&nbsp;in,
322 int&nbsp;length)</CODE>
323
324 <BR>
325 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tokenizes a specified region by an occurences of the pattern.
326 </TD>
327 </TR>
328 <TR BGCOLOR="white" CLASS="TableRowColor">
329 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
330 <CODE>&nbsp;<A HREF="../jregex/RETokenizer.html">RETokenizer</A></CODE></FONT></TD>
331 <TD><CODE><B><A HREF="../jregex/Pattern.html#tokenizer(java.lang.String)">tokenizer</A></B>(java.lang.String&nbsp;text)</CODE>
332
333 <BR>
334 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tokenizes a text by an occurences of the pattern.
335 </TD>
336 </TR>
337 <TR BGCOLOR="white" CLASS="TableRowColor">
338 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
339 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
340 <TD><CODE><B><A HREF="../jregex/Pattern.html#toString_d()">toString_d</A></B>()</CODE>
341
342 <BR>
343 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a less or more readable representation of a bytecode for the pattern.</TD>
344 </TR>
345 <TR BGCOLOR="white" CLASS="TableRowColor">
346 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
347 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
348 <TD><CODE><B><A HREF="../jregex/Pattern.html#toString()">toString</A></B>()</CODE>
349
350 <BR>
351 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
352 </TR>
353 </TABLE>
354 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
355 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
356 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
357 <TD><B>Methods inherited from class java.lang.Object</B></TD>
358 </TR>
359 <TR BGCOLOR="white" CLASS="TableRowColor">
360 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
361 </TR>
362 </TABLE>
363 &nbsp;
364 <P>
365
366 <!-- ============ FIELD DETAIL =========== -->
367
368
369 <!-- ========= CONSTRUCTOR DETAIL ======== -->
370
371 <A NAME="constructor_detail"><!-- --></A>
372 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
373 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
374 <TD COLSPAN=1><FONT SIZE="+2">
375 <B>Constructor Detail</B></FONT></TD>
376 </TR>
377 </TABLE>
378
379 <A NAME="Pattern()"><!-- --></A><H3>
380 Pattern</H3>
381 <PRE>
382 protected <B>Pattern</B>()
383 throws <A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></PRE>
384 <DL>
385 </DL>
386 <HR>
387
388 <A NAME="Pattern(java.lang.String)"><!-- --></A><H3>
389 Pattern</H3>
390 <PRE>
391 public <B>Pattern</B>(java.lang.String&nbsp;regex)
392 throws <A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></PRE>
393 <DL>
394 <DD>Compiles an expression with default flags.<DD><DL>
395 <DT><B>Parameters:</B><DD><CODE><code>regex</code></CODE> - the Perl5-compatible regular expression string.<DT><B>Throws:</B><DD><CODE><A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></CODE> - if the argument doesn't correspond to perl5 regex syntax.<DT><B>See Also: </B><DD><A HREF="../jregex/Pattern.html#Pattern(java.lang.String, java.lang.String)"><CODE>Pattern(java.lang.String,java.lang.String)</CODE></A>,
396 <A HREF="../jregex/Pattern.html#Pattern(java.lang.String, int)"><CODE>Pattern(java.lang.String,int)</CODE></A></DL>
397 </DD>
398 </DL>
399 <HR>
400
401 <A NAME="Pattern(java.lang.String, java.lang.String)"><!-- --></A><H3>
402 Pattern</H3>
403 <PRE>
404 public <B>Pattern</B>(java.lang.String&nbsp;regex,
405 java.lang.String&nbsp;flags)
406 throws <A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></PRE>
407 <DL>
408 <DD>Compiles a regular expression using Perl5-style flags.
409 The flag string should consist of letters 'i','m','s','x','u','X'(the case is significant) and a hyphen.
410 The meaning of letters:
411 <ul>
412 <li><b>i</b> - case insensitivity, corresponds to REFLlags.IGNORE_CASE;
413 <li><b>m</b> - multiline treatment(BOLs and EOLs affect the '^' and '$'), corresponds to REFLlags.MULTILINE flag;
414 <li><b>s</b> - single line treatment('.' matches \r's and \n's),corresponds to REFLlags.DOTALL;
415 <li><b>x</b> - extended whitespace comments (spaces and eols in the expression are ignored), corresponds to REFLlags.IGNORE_SPACES.
416 <li><b>u</b> - predefined classes are regarded as belonging to Unicode, corresponds to REFLlags.UNICODE; this may yield some performance penalty.
417 <li><b>X</b> - compatibility with XML Schema, corresponds to REFLlags.XML_SCHEMA.
418 </ul><DD><DL>
419 <DT><B>Parameters:</B><DD><CODE><code>regex</code></CODE> - the Perl5-compatible regular expression string.<DD><CODE><code>flags</code></CODE> - the Perl5-compatible flags.<DT><B>Throws:</B><DD><CODE><A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></CODE> - if the argument doesn't correspond to perl5 regex syntax.
420 see REFlags</DL>
421 </DD>
422 </DL>
423 <HR>
424
425 <A NAME="Pattern(java.lang.String, int)"><!-- --></A><H3>
426 Pattern</H3>
427 <PRE>
428 public <B>Pattern</B>(java.lang.String&nbsp;regex,
429 int&nbsp;flags)
430 throws <A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></PRE>
431 <DL>
432 <DD>Compiles a regular expression using REFlags.
433 The <code>flags</code> parameter is a bitwise OR of the folloing values:
434 <ul>
435 <li><b>REFLlags.IGNORE_CASE</b> - case insensitivity, corresponds to '<b>i</b>' letter;
436 <li><b>REFLlags.MULTILINE</b> - multiline treatment(BOLs and EOLs affect the '^' and '$'), corresponds to '<b>m</b>';
437 <li><b>REFLlags.DOTALL</b> - single line treatment('.' matches \r's and \n's),corresponds to '<b>s</b>';
438 <li><b>REFLlags.IGNORE_SPACES</b> - extended whitespace comments (spaces and eols in the expression are ignored), corresponds to '<b>x</b>'.
439 <li><b>REFLlags.UNICODE</b> - predefined classes are regarded as belonging to Unicode, corresponds to '<b>u</b>'; this may yield some performance penalty.
440 <li><b>REFLlags.XML_SCHEMA</b> - compatibility with XML Schema, corresponds to '<b>X</b>'.
441 </ul><DD><DL>
442 <DT><B>Parameters:</B><DD><CODE><code>regex</code></CODE> - the Perl5-compatible regular expression string.<DD><CODE><code>flags</code></CODE> - the Perl5-compatible flags.<DT><B>Throws:</B><DD><CODE><A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></CODE> - if the argument doesn't correspond to perl5 regex syntax.
443 see REFlags</DL>
444 </DD>
445 </DL>
446
447 <!-- ============ METHOD DETAIL ========== -->
448
449 <A NAME="method_detail"><!-- --></A>
450 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
451 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
452 <TD COLSPAN=1><FONT SIZE="+2">
453 <B>Method Detail</B></FONT></TD>
454 </TR>
455 </TABLE>
456
457 <A NAME="compile(java.lang.String, int)"><!-- --></A><H3>
458 compile</H3>
459 <PRE>
460 protected void <B>compile</B>(java.lang.String&nbsp;regex,
461 int&nbsp;flags)
462 throws <A HREF="../jregex/PatternSyntaxException.html">PatternSyntaxException</A></PRE>
463 <DL>
464 <DD><DL>
465 </DL>
466 </DD>
467 </DL>
468 <HR>
469
470 <A NAME="groupCount()"><!-- --></A><H3>
471 groupCount</H3>
472 <PRE>
473 public int <B>groupCount</B>()</PRE>
474 <DL>
475 <DD>How many capturing groups this expression includes?<DD><DL>
476 </DL>
477 </DD>
478 </DL>
479 <HR>
480
481 <A NAME="groupId(java.lang.String)"><!-- --></A><H3>
482 groupId</H3>
483 <PRE>
484 public java.lang.Integer <B>groupId</B>(java.lang.String&nbsp;name)</PRE>
485 <DL>
486 <DD>Get numeric id for a group name.<DD><DL>
487 </DL>
488 </DD>
489 <DD><DL>
490 <DT><B>Returns:</B><DD><code>null</code> if no such name found.<DT><B>See Also: </B><DD><A HREF="../jregex/MatchResult.html#group(java.lang.String)"><CODE>MatchResult.group(java.lang.String)</CODE></A>,
491 <A HREF="../jregex/MatchResult.html#isCaptured(java.lang.String)"><CODE>MatchResult.isCaptured(java.lang.String)</CODE></A></DL>
492 </DD>
493 </DL>
494 <HR>
495
496 <A NAME="matches(java.lang.String)"><!-- --></A><H3>
497 matches</H3>
498 <PRE>
499 public boolean <B>matches</B>(java.lang.String&nbsp;s)</PRE>
500 <DL>
501 <DD>A shorthand for Pattern.matcher(String).matches().<br><DD><DL>
502 </DL>
503 </DD>
504 <DD><DL>
505 <DT><B>Parameters:</B><DD><CODE>s</CODE> - the target<DT><B>Returns:</B><DD>true if the entire target matches the pattern<DT><B>See Also: </B><DD><A HREF="../jregex/Matcher.html#matches()"><CODE>Matcher.matches()</CODE></A>,
506 <A HREF="../jregex/Matcher.html#matches(java.lang.String)"><CODE>Matcher.matches(String)</CODE></A></DL>
507 </DD>
508 </DL>
509 <HR>
510
511 <A NAME="startsWith(java.lang.String)"><!-- --></A><H3>
512 startsWith</H3>
513 <PRE>
514 public boolean <B>startsWith</B>(java.lang.String&nbsp;s)</PRE>
515 <DL>
516 <DD>A shorthand for Pattern.matcher(String).matchesPrefix().<br><DD><DL>
517 </DL>
518 </DD>
519 <DD><DL>
520 <DT><B>Parameters:</B><DD><CODE>s</CODE> - the target<DT><B>Returns:</B><DD>true if the entire target matches the beginning of the pattern<DT><B>See Also: </B><DD><A HREF="../jregex/Matcher.html#matchesPrefix()"><CODE>Matcher.matchesPrefix()</CODE></A></DL>
521 </DD>
522 </DL>
523 <HR>
524
525 <A NAME="matcher()"><!-- --></A><H3>
526 matcher</H3>
527 <PRE>
528 public <A HREF="../jregex/Matcher.html">Matcher</A> <B>matcher</B>()</PRE>
529 <DL>
530 <DD>Returns a targetless matcher.
531 Don't forget to supply a target.<DD><DL>
532 </DL>
533 </DD>
534 </DL>
535 <HR>
536
537 <A NAME="matcher(java.lang.String)"><!-- --></A><H3>
538 matcher</H3>
539 <PRE>
540 public <A HREF="../jregex/Matcher.html">Matcher</A> <B>matcher</B>(java.lang.String&nbsp;s)</PRE>
541 <DL>
542 <DD>Returns a matcher for a specified string.<DD><DL>
543 </DL>
544 </DD>
545 </DL>
546 <HR>
547
548 <A NAME="matcher(char[], int, int)"><!-- --></A><H3>
549 matcher</H3>
550 <PRE>
551 public <A HREF="../jregex/Matcher.html">Matcher</A> <B>matcher</B>(char[]&nbsp;data,
552 int&nbsp;start,
553 int&nbsp;end)</PRE>
554 <DL>
555 <DD>Returns a matcher for a specified region.<DD><DL>
556 </DL>
557 </DD>
558 </DL>
559 <HR>
560
561 <A NAME="matcher(jregex.MatchResult, int)"><!-- --></A><H3>
562 matcher</H3>
563 <PRE>
564 public <A HREF="../jregex/Matcher.html">Matcher</A> <B>matcher</B>(<A HREF="../jregex/MatchResult.html">MatchResult</A>&nbsp;res,
565 int&nbsp;groupId)</PRE>
566 <DL>
567 <DD>Returns a matcher for a match result (in a performance-friendly way).
568 <code>groupId</code> parameter specifies which group is a target.<DD><DL>
569 </DL>
570 </DD>
571 <DD><DL>
572 <DT><B>Parameters:</B><DD><CODE>groupId</CODE> - which group is a target; either positive integer(group id), or one of MatchResult.MATCH,MatchResult.PREFIX,MatchResult.SUFFIX,MatchResult.TARGET.</DL>
573 </DD>
574 </DL>
575 <HR>
576
577 <A NAME="matcher(jregex.MatchResult, java.lang.String)"><!-- --></A><H3>
578 matcher</H3>
579 <PRE>
580 public <A HREF="../jregex/Matcher.html">Matcher</A> <B>matcher</B>(<A HREF="../jregex/MatchResult.html">MatchResult</A>&nbsp;res,
581 java.lang.String&nbsp;groupName)</PRE>
582 <DL>
583 <DD>Just as above, yet with symbolic group name.<DD><DL>
584 </DL>
585 </DD>
586 <DD><DL>
587 <DT><B>Throws:</B><DD><CODE>NullPointerException</CODE> - if there is no group with such name</DL>
588 </DD>
589 </DL>
590 <HR>
591
592 <A NAME="matcher(java.io.Reader, int)"><!-- --></A><H3>
593 matcher</H3>
594 <PRE>
595 public <A HREF="../jregex/Matcher.html">Matcher</A> <B>matcher</B>(java.io.Reader&nbsp;text,
596 int&nbsp;length)
597 throws java.io.IOException</PRE>
598 <DL>
599 <DD>Returns a matcher taking a text stream as target.
600 <b>Note that this is not a true POSIX-style stream matching</b>, i.e. the whole length of the text is preliminary read and stored in a char array.<DD><DL>
601 </DL>
602 </DD>
603 <DD><DL>
604 <DT><B>Parameters:</B><DD><CODE>text</CODE> - a text stream<DD><CODE>len</CODE> - the length to read from a stream; if <code>len</code> is <code>-1</code>, the whole stream is read in.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - indicates an IO problem<DD><CODE>OutOfMemoryException</CODE> - if a stream is too lengthy</DL>
605 </DD>
606 </DL>
607 <HR>
608
609 <A NAME="replacer(java.lang.String)"><!-- --></A><H3>
610 replacer</H3>
611 <PRE>
612 public <A HREF="../jregex/Replacer.html">Replacer</A> <B>replacer</B>(java.lang.String&nbsp;expr)</PRE>
613 <DL>
614 <DD>Returns a replacer of a pattern by specified perl-like expression.
615 Such replacer will substitute all occurences of a pattern by an evaluated expression
616 ("$&" and "$0" will substitute by the whole match, "$1" will substitute by group#1, etc).
617 Example:<pre>
618 String text="The quick brown fox jumped over the lazy dog";
619 Pattern word=new Pattern("\\w+");
620 System.out.println(word.replacer("[$&]").replace(text));
621 //prints "[The] [quick] [brown] [fox] [jumped] [over] [the] [lazy] [dog]"
622 Pattern swap=new Pattern("(fox|dog)(.*?)(fox|dog)");
623 System.out.println(swap.replacer("$3$2$1").replace(text));
624 //prints "The quick brown dog jumped over the lazy fox"
625 Pattern scramble=new Pattern("(\\w+)(.*?)(\\w+)");
626 System.out.println(scramble.replacer("$3$2$1").replace(text));
627 //prints "quick The fox brown over jumped lazy the dog"
628 </pre><DD><DL>
629 </DL>
630 </DD>
631 <DD><DL>
632 <DT><B>Parameters:</B><DD><CODE>expr</CODE> - a perl-like expression, the "$&" and "${&}" standing for whole match, the "$N" and "${N}" standing for group#N, and "${Foo}" standing for named group Foo.<DT><B>See Also: </B><DD><A HREF="../jregex/Replacer.html"><CODE>Replacer</CODE></A></DL>
633 </DD>
634 </DL>
635 <HR>
636
637 <A NAME="replacer(jregex.Substitution)"><!-- --></A><H3>
638 replacer</H3>
639 <PRE>
640 public <A HREF="../jregex/Replacer.html">Replacer</A> <B>replacer</B>(<A HREF="../jregex/Substitution.html">Substitution</A>&nbsp;model)</PRE>
641 <DL>
642 <DD>Returns a replacer will substitute all occurences of a pattern
643 through applying a user-defined substitution model.<DD><DL>
644 </DL>
645 </DD>
646 <DD><DL>
647 <DT><B>Parameters:</B><DD><CODE>model</CODE> - a Substitution object which is in charge for match substitution<DT><B>See Also: </B><DD><A HREF="../jregex/Replacer.html"><CODE>Replacer</CODE></A></DL>
648 </DD>
649 </DL>
650 <HR>
651
652 <A NAME="tokenizer(java.lang.String)"><!-- --></A><H3>
653 tokenizer</H3>
654 <PRE>
655 public <A HREF="../jregex/RETokenizer.html">RETokenizer</A> <B>tokenizer</B>(java.lang.String&nbsp;text)</PRE>
656 <DL>
657 <DD>Tokenizes a text by an occurences of the pattern.
658 Note that a series of adjacent matches are regarded as a single separator.
659 The same as new RETokenizer(Pattern,String);<DD><DL>
660 </DL>
661 </DD>
662 <DD><DL>
663 <DT><B>See Also: </B><DD><A HREF="../jregex/RETokenizer.html"><CODE>RETokenizer</CODE></A>,
664 <A HREF="../jregex/RETokenizer.html#RETokenizer(jregex.Pattern, java.lang.String)"><CODE>RETokenizer.RETokenizer(jregex.Pattern,java.lang.String)</CODE></A></DL>
665 </DD>
666 </DL>
667 <HR>
668
669 <A NAME="tokenizer(char[], int, int)"><!-- --></A><H3>
670 tokenizer</H3>
671 <PRE>
672 public <A HREF="../jregex/RETokenizer.html">RETokenizer</A> <B>tokenizer</B>(char[]&nbsp;data,
673 int&nbsp;off,
674 int&nbsp;len)</PRE>
675 <DL>
676 <DD>Tokenizes a specified region by an occurences of the pattern.
677 Note that a series of adjacent matches are regarded as a single separator.
678 The same as new RETokenizer(Pattern,char[],int,int);<DD><DL>
679 </DL>
680 </DD>
681 <DD><DL>
682 <DT><B>See Also: </B><DD><A HREF="../jregex/RETokenizer.html"><CODE>RETokenizer</CODE></A>,
683 <A HREF="../jregex/RETokenizer.html#RETokenizer(jregex.Pattern, char[], int, int)"><CODE>RETokenizer.RETokenizer(jregex.Pattern,char[],int,int)</CODE></A></DL>
684 </DD>
685 </DL>
686 <HR>
687
688 <A NAME="tokenizer(java.io.Reader, int)"><!-- --></A><H3>
689 tokenizer</H3>
690 <PRE>
691 public <A HREF="../jregex/RETokenizer.html">RETokenizer</A> <B>tokenizer</B>(java.io.Reader&nbsp;in,
692 int&nbsp;length)
693 throws java.io.IOException</PRE>
694 <DL>
695 <DD>Tokenizes a specified region by an occurences of the pattern.
696 Note that a series of adjacent matches are regarded as a single separator.
697 The same as new RETokenizer(Pattern,Reader,int);<DD><DL>
698 </DL>
699 </DD>
700 <DD><DL>
701 <DT><B>See Also: </B><DD><A HREF="../jregex/RETokenizer.html"><CODE>RETokenizer</CODE></A>,
702 <A HREF="../jregex/RETokenizer.html#RETokenizer(jregex.Pattern, java.io.Reader, int)"><CODE>RETokenizer.RETokenizer(jregex.Pattern,java.io.Reader,int)</CODE></A></DL>
703 </DD>
704 </DL>
705 <HR>
706
707 <A NAME="toString()"><!-- --></A><H3>
708 toString</H3>
709 <PRE>
710 public java.lang.String <B>toString</B>()</PRE>
711 <DL>
712 <DD><DL>
713 <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
714 </DD>
715 </DL>
716 <HR>
717
718 <A NAME="toString_d()"><!-- --></A><H3>
719 toString_d</H3>
720 <PRE>
721 public java.lang.String <B>toString_d</B>()</PRE>
722 <DL>
723 <DD>Returns a less or more readable representation of a bytecode for the pattern.<DD><DL>
724 </DL>
725 </DD>
726 </DL>
727 <!-- ========= END OF CLASS DATA ========= -->
728 <HR>
729
730 <!-- ========== START OF NAVBAR ========== -->
731 <A NAME="navbar_bottom"><!-- --></A>
732 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
733 <TR>
734 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
735 <A NAME="navbar_bottom_firstrow"><!-- --></A>
736 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
737 <TR ALIGN="center" VALIGN="top">
738 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
739 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
740 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
741 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
742 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
743 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
744 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
745 </TR>
746 </TABLE>
747 </TD>
748 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
749 </EM>
750 </TD>
751 </TR>
752
753 <TR>
754 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
755 &nbsp;<A HREF="../jregex/Optimizer.html"><B>PREV CLASS</B></A>&nbsp;
756 &nbsp;<A HREF="../jregex/PerlSubstitution.html"><B>NEXT CLASS</B></A></FONT></TD>
757 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
758 <A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
759 &nbsp;<A HREF="Pattern.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
760 </TR>
761 <TR>
762 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
763 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
764 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
765 DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
766 </TR>
767 </TABLE>
768 <!-- =========== END OF NAVBAR =========== -->
769
770 <HR>
771
772 </BODY>
773 </HTML>