Debian Codegraph @

docs/api/jregex/REFlags.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:41 GMT+04:00 2002 -->
6 <TITLE>
7 : Interface REFlags
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/MatchResult.html"><B>PREV CLASS</B></A>&nbsp;
39 &nbsp;<A HREF="../jregex/Substitution.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="REFlags.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;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
47 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
48 DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</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 Interface REFlags</H2>
60 <DL>
61 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../jregex/Pattern.html">Pattern</A></DD>
62 </DL>
63 <HR>
64 <DL>
65 <DT>public interface <B>REFlags</B></DL>
66
67 <P>
68 <HR>
69
70 <P>
71 <!-- ======== INNER CLASS SUMMARY ======== -->
72
73
74 <!-- =========== FIELD SUMMARY =========== -->
75
76 <A NAME="field_summary"><!-- --></A>
77 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
78 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
79 <TD COLSPAN=2><FONT SIZE="+2">
80 <B>Field Summary</B></FONT></TD>
81 </TR>
82 <TR BGCOLOR="white" CLASS="TableRowColor">
83 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
84 <CODE>static&nbsp;int</CODE></FONT></TD>
85 <TD><CODE><B><A HREF="../jregex/REFlags.html#DEFAULT">DEFAULT</A></B></CODE>
86
87 <BR>
88 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All the foolowing options turned off</TD>
89 </TR>
90 <TR BGCOLOR="white" CLASS="TableRowColor">
91 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
92 <CODE>static&nbsp;int</CODE></FONT></TD>
93 <TD><CODE><B><A HREF="../jregex/REFlags.html#DOTALL">DOTALL</A></B></CODE>
94
95 <BR>
96 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Affects the behaviour of dot(".") tag. </TD>
97 </TR>
98 <TR BGCOLOR="white" CLASS="TableRowColor">
99 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
100 <CODE>static&nbsp;int</CODE></FONT></TD>
101 <TD><CODE><B><A HREF="../jregex/REFlags.html#IGNORE_CASE">IGNORE_CASE</A></B></CODE>
102
103 <BR>
104 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pattern "a" matches both "a" and "A".
105 </TD>
106 </TR>
107 <TR BGCOLOR="white" CLASS="TableRowColor">
108 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
109 <CODE>static&nbsp;int</CODE></FONT></TD>
110 <TD><CODE><B><A HREF="../jregex/REFlags.html#IGNORE_SPACES">IGNORE_SPACES</A></B></CODE>
111
112 <BR>
113 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Affects how the space characters are interpeted in the expression. </TD>
114 </TR>
115 <TR BGCOLOR="white" CLASS="TableRowColor">
116 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117 <CODE>static&nbsp;int</CODE></FONT></TD>
118 <TD><CODE><B><A HREF="../jregex/REFlags.html#MULTILINE">MULTILINE</A></B></CODE>
119
120 <BR>
121 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Affects the behaviour of "^" and "$" tags. </TD>
122 </TR>
123 <TR BGCOLOR="white" CLASS="TableRowColor">
124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125 <CODE>static&nbsp;int</CODE></FONT></TD>
126 <TD><CODE><B><A HREF="../jregex/REFlags.html#UNICODE">UNICODE</A></B></CODE>
127
128 <BR>
129 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Affects whether the predefined classes("\d","\s","\w",etc) in the expression are interpreted as belonging to Unicode. </TD>
130 </TR>
131 <TR BGCOLOR="white" CLASS="TableRowColor">
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133 <CODE>static&nbsp;int</CODE></FONT></TD>
134 <TD><CODE><B><A HREF="../jregex/REFlags.html#XML_SCHEMA">XML_SCHEMA</A></B></CODE>
135
136 <BR>
137 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turns on the compatibility with XML Schema regular expressions.</TD>
138 </TR>
139 </TABLE>
140 &nbsp;
141 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
142
143
144 <!-- ========== METHOD SUMMARY =========== -->
145
146
147 <P>
148
149 <!-- ============ FIELD DETAIL =========== -->
150
151 <A NAME="field_detail"><!-- --></A>
152 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
153 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154 <TD COLSPAN=1><FONT SIZE="+2">
155 <B>Field Detail</B></FONT></TD>
156 </TR>
157 </TABLE>
158
159 <A NAME="DEFAULT"><!-- --></A><H3>
160 DEFAULT</H3>
161 <PRE>
162 public static final int <B>DEFAULT</B></PRE>
163 <DL>
164 <DD>All the foolowing options turned off</DL>
165 <HR>
166
167 <A NAME="IGNORE_CASE"><!-- --></A><H3>
168 IGNORE_CASE</H3>
169 <PRE>
170 public static final int <B>IGNORE_CASE</B></PRE>
171 <DL>
172 <DD>Pattern "a" matches both "a" and "A".
173 Corresponds to "i" in Perl notation.</DL>
174 <HR>
175
176 <A NAME="MULTILINE"><!-- --></A><H3>
177 MULTILINE</H3>
178 <PRE>
179 public static final int <B>MULTILINE</B></PRE>
180 <DL>
181 <DD>Affects the behaviour of "^" and "$" tags. When switched off:
182 <li> the "^" matches the beginning of the whole text;
183 <li> the "$" matches the end of the whole text, or just before the '\n' or "\r\n" at the end of text.
184 When switched on:
185 <li> the "^" additionally matches the line beginnings (that is just after the '\n');
186 <li> the "$" additionally matches the line ends (that is just before "\r\n" or '\n');
187 Corresponds to "m" in Perl notation.</DL>
188 <HR>
189
190 <A NAME="DOTALL"><!-- --></A><H3>
191 DOTALL</H3>
192 <PRE>
193 public static final int <B>DOTALL</B></PRE>
194 <DL>
195 <DD>Affects the behaviour of dot(".") tag. When switched off:
196 <li> the dot matches any character but EOLs('\r','\n');
197 When switched on:
198 <li> the dot matches any character, including EOLs.
199 This flag is sometimes referenced in regex tutorials as SINGLELINE, which confusingly seems opposite to MULTILINE, but in fact is orthogonal.
200 Corresponds to "s" in Perl notation.</DL>
201 <HR>
202
203 <A NAME="IGNORE_SPACES"><!-- --></A><H3>
204 IGNORE_SPACES</H3>
205 <PRE>
206 public static final int <B>IGNORE_SPACES</B></PRE>
207 <DL>
208 <DD>Affects how the space characters are interpeted in the expression. When switched off:
209 <li> the spaces are interpreted literally;
210 When switched on:
211 <li> the spaces are ingnored, allowing an expression to be slightly more readable.
212 Corresponds to "x" in Perl notation.</DL>
213 <HR>
214
215 <A NAME="UNICODE"><!-- --></A><H3>
216 UNICODE</H3>
217 <PRE>
218 public static final int <B>UNICODE</B></PRE>
219 <DL>
220 <DD>Affects whether the predefined classes("\d","\s","\w",etc) in the expression are interpreted as belonging to Unicode. When switched off:
221 <li> the predefined classes are interpreted as ASCII;
222 When switched on:
223 <li> the predefined classes are interpreted as Unicode categories;</DL>
224 <HR>
225
226 <A NAME="XML_SCHEMA"><!-- --></A><H3>
227 XML_SCHEMA</H3>
228 <PRE>
229 public static final int <B>XML_SCHEMA</B></PRE>
230 <DL>
231 <DD>Turns on the compatibility with XML Schema regular expressions.</DL>
232
233 <!-- ========= CONSTRUCTOR DETAIL ======== -->
234
235
236 <!-- ============ METHOD DETAIL ========== -->
237
238 <!-- ========= END OF CLASS DATA ========= -->
239 <HR>
240
241 <!-- ========== START OF NAVBAR ========== -->
242 <A NAME="navbar_bottom"><!-- --></A>
243 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
244 <TR>
245 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
246 <A NAME="navbar_bottom_firstrow"><!-- --></A>
247 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
248 <TR ALIGN="center" VALIGN="top">
249 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
250 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
251 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
252 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
253 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
254 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
255 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
256 </TR>
257 </TABLE>
258 </TD>
259 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
260 </EM>
261 </TD>
262 </TR>
263
264 <TR>
265 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
266 &nbsp;<A HREF="../jregex/MatchResult.html"><B>PREV CLASS</B></A>&nbsp;
267 &nbsp;<A HREF="../jregex/Substitution.html"><B>NEXT CLASS</B></A></FONT></TD>
268 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
269 <A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
270 &nbsp;<A HREF="REFlags.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
271 </TR>
272 <TR>
273 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
274 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
275 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
276 DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
277 </TR>
278 </TABLE>
279 <!-- =========== END OF NAVBAR =========== -->
280
281 <HR>
282
283 </BODY>
284 </HTML>