package.html revision fde01e06d8aacfc18c2d4bf1930e271ae5c812d1
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 2<html> 3<head> 4<!-- 5Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. 6DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7 8This code is free software; you can redistribute it and/or modify it 9under the terms of the GNU General Public License version 2 only, as 10published by the Free Software Foundation. Oracle designates this 11particular file as subject to the "Classpath" exception as provided 12by Oracle in the LICENSE file that accompanied this code. 13 14This code is distributed in the hope that it will be useful, but WITHOUT 15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17version 2 for more details (a copy is included in the LICENSE file that 18accompanied this code). 19 20You should have received a copy of the GNU General Public License version 212 along with this work; if not, write to the Free Software Foundation, 22Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 24Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 25or visit www.oracle.com if you need additional information or have any 26questions. 27--> 28 29</head> 30<body bgcolor="white"> 31 32Classes for matching character sequences against patterns specified by regular 33expressions. 34 35<p> An instance of the {@link java.util.regex.Pattern} class represents a 36regular expression that is specified in string form in a syntax similar to 37that used by Perl. 38 39<p> Instances of the {@link java.util.regex.Matcher} class are used to match 40character sequences against a given pattern. Input is provided to matchers via 41the {@link java.lang.CharSequence} interface in order to support matching 42against characters from a wide variety of input sources. </p> 43 44<p> Unless otherwise noted, passing a <tt>null</tt> argument to a method 45in 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 51href="http://www.oreilly.com/catalog/regex/"><i>Mastering Regular 52Expressions</i>, Jeffrey E. F. Friedl, O'Reilly and Associates, 1997.</a> </p> 53 54<!-- 55For 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> 67