Class com.oroinc.text.regex.Perl5Pattern
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.oroinc.text.regex.Perl5Pattern

java.lang.Object
   |
   +----com.oroinc.text.regex.Perl5Pattern

public class Perl5Pattern
extends Object
implements Pattern
An implementation of the Pattern interface for Perl5 regular expressions. This class is compatible with the Perl5Compiler and Perl5Matcher classes. When a Perl5Compiler instance compiles a regular expression pattern, it produces a Perl5Pattern instance containing internal data structures used by Perl5Matcher to perform pattern matches. This class is not intended to be subclassed, but is not made final so it may be made serializable if so desired by JDK 1.1 users. This class cannot be directly instantiated by the programmer as it would not make sense. Perl5Pattern instances should only be created through calls to a Perl5Compiler instance's compile() methods.

Copyright © 1997 Original Resuable Objects, Inc. All rights reserved.

Author:
Daniel F. Savarese
See Also:
Perl5Compiler, Perl5Matcher

Method Index

 o getPattern()
This method returns the string representation of the pattern.

Methods

 o getPattern
  public String getPattern()
This method returns the string representation of the pattern.
Returns:
The original string representation of the regular expression pattern.

All Packages  Class Hierarchy  This Package  Previous  Next  Index