2
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
2 |
<html>
|
|
3 |
<head>
|
|
4 |
<!--
|
|
5 |
Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
|
|
6 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
7 |
|
|
8 |
This code is free software; you can redistribute it and/or modify it
|
|
9 |
under the terms of the GNU General Public License version 2 only, as
|
|
10 |
published by the Free Software Foundation. Sun designates this
|
|
11 |
particular file as subject to the "Classpath" exception as provided
|
|
12 |
by Sun in the LICENSE file that accompanied this code.
|
|
13 |
|
|
14 |
This code is distributed in the hope that it will be useful, but WITHOUT
|
|
15 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
16 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
17 |
version 2 for more details (a copy is included in the LICENSE file that
|
|
18 |
accompanied this code).
|
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License version
|
|
21 |
2 along with this work; if not, write to the Free Software Foundation,
|
|
22 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
23 |
|
|
24 |
Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
25 |
CA 95054 USA or visit www.sun.com if you need additional information or
|
|
26 |
have any questions.
|
|
27 |
-->
|
|
28 |
|
|
29 |
</head>
|
|
30 |
<body bgcolor="white">
|
|
31 |
|
|
32 |
Classes for matching character sequences against patterns specified by regular
|
|
33 |
expressions.
|
|
34 |
|
|
35 |
<p> An instance of the {@link java.util.regex.Pattern} class represents a
|
|
36 |
regular expression that is specified in string form in a syntax similar to
|
|
37 |
that used by Perl.
|
|
38 |
|
|
39 |
<p> Instances of the {@link java.util.regex.Matcher} class are used to match
|
|
40 |
character sequences against a given pattern. Input is provided to matchers via
|
|
41 |
the {@link java.lang.CharSequence} interface in order to support matching
|
|
42 |
against characters from a wide variety of input sources. </p>
|
|
43 |
|
|
44 |
<p> Unless otherwise noted, passing a <tt>null</tt> argument to a method
|
|
45 |
in any class or interface in this package will cause a
|
|
46 |
{@link java.lang.NullPointerException NullPointerException} to be thrown.
|
|
47 |
|
|
48 |
<h2>Related Documentation</h2>
|
|
49 |
|
|
50 |
<p> An excellent tutorial and overview of regular expressions is <a
|
|
51 |
href="http://www.oreilly.com/catalog/regex/"><i>Mastering Regular
|
|
52 |
Expressions</i>, Jeffrey E. F. Friedl, O'Reilly and Associates, 1997.</a> </p>
|
|
53 |
|
|
54 |
<!--
|
|
55 |
For overviews, tutorials, examples, guides, and tool documentation, please see:
|
|
56 |
<ul>
|
|
57 |
<li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a>
|
|
58 |
</ul>
|
|
59 |
-->
|
|
60 |
|
|
61 |
@since 1.4
|
|
62 |
@author Mike McCloskey
|
|
63 |
@author Mark Reinhold
|
|
64 |
|
|
65 |
</body>
|
|
66 |
</html>
|