|
Class Summary
|
| AmpersandRule |
This implements the $& element of the second argument to
Regex. |
| BackRefRule |
This method implements the pattern elements $1, $2, etc in
a substitution rule. |
| CaseMgr |
Encapsulates the Unicode definitions of Upper,
Lower, and Title case as defined by
unicode.org.
|
|
| ChangeRule |
This class implements user defined special replacement rules
of the form ${=name}. |
| CodeRule |
Implements the rules for \U, \L, \E, \Q in substitutions. |
| DirFileRegex |
This class is just like FileRegex, except that its accept method
only returns true if the file matching the pattern is not a directory. |
| FastBracket |
Uses table lookup to match [] type constructs, but
only if it can use a lookup table 256 bits in size.
|
| FileRegex |
This class is a different form of Regex designed to work more
like the file matching utility of a Unix shell. |
| Key |
This package provides the method registeredTo()
which makes it possible for registered users to
disable the startup message. |
| LeftRule |
The apply(StringBuffer sb,RegRes res) method of this derivation
of ReplaceRule appends the contents of res.left() to the StringBuffer
sb. |
| NonDirFileRegex |
This class is just like FileRegex, except that its accept method
only returns true if the file matching the pattern is not a directory. |
|
| NullRule |
The apply(StringBuffer sb,RegRes res) method of this derivation
of ReplaceRule appends nothing to the contents of the StringBuffer sb. |
| patInt |
This is just an integer that can have infinite value.
|
| Pattern |
Class Pattern is the base class on which all the other pattern
elements are built. |
| PopRule |
Implements substitution rule $POP. See the example
file
| Prop |
Get Unicode properties for a character. |
| Pthings |
Things that need to be kept track of during a
match. |
| PushRule |
See the example file
| Regex |
Regex provides the parser which constructs the linked list of
Pattern classes from a String.
|
| RegexReader |
Reads in a stream, transforming it as it is read in.
|
| RegexTokenizer |
The RegexTokenizer is similar to the StringTokenizer class
provided with java, but allows one to tokenize using
regular expressions, rather than a simple list of characters.
|
| RegexWriter |
A basic extension of FilterWriter that uses Transformer
to make replacements in data as it is written out. |
| RegOpt |
|
| RegRes |
This class is used to store a result from Regex |
| Replacer |
To use this class, first use either the getReplacer() method from
Transformer or Regex. |
| ReplaceRule |
ReplaceRule is a singly linked list of Objects which describe how
to replace the matched portion of a String. |
| RightRule |
The apply(StringBuffer sb,RegRes res) method of this derivation
of ReplaceRule appends the contents of res.right() to the StringBuffer
sb. |
| Rthings |
This class only exists to store data needed during the
compilation of a regular expression. |
| Skip2 |
This is the same as Skip, except it needs a minimum
of two characters in the initializing String. |
| SkipBMH |
Like Skip, but implements a
Boyer-Moore-Horspool type search
method that has been modified to be more like a "T-search" (see
the Michael Tamm''s article in C' |
|
| Skip |
This class is used internally to search ahead for some
optimized Regex objects. |
| SpecialRule |
|
| StringRule |
The apply method of this ReplaceRule simply appends the text
it was initialized with to the StringBuffer. |
| StrPos |
StrPos is used internally by regex to parse the regular expression. |
| Transformer |
Sometimes you want to replace a whole bunch of things
that might occur within a single line of text. |
| Validator |
This class makes it easy to create your own patterns
and integrate them into Regex. |
| WantMoreTextReplaceRule |
Triggers the reading of another line of text, allowing a longer
pattern to match -- for details see
|
Exception Summary
|
| RegSyntax |
This type of syntax error is thrown whenever a syntax error
is encountered in the pattern. |
|