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