C G H I M N O R S T V

C

charAt(int) - Method in interface gnu.regexp.CharIndexed
Returns the character at the given offset past the current cursor position in the input.
CharIndexed - interface gnu.regexp.CharIndexed.
Defines the interface used internally so that different types of source text can be accessed in the same way.
clear(int) - Method in class gnu.regexp.RESyntax
Clear a given bit in this syntax.
clone() - Method in class gnu.regexp.REMatch
 

G

get(int) - Method in class gnu.regexp.RESyntax
Check if a given bit is set in this syntax.
getAllMatches(Object) - Method in class gnu.regexp.RE
Returns an array of all matches found in the input.
getAllMatches(Object, int) - Method in class gnu.regexp.RE
Returns an array of all matches found in the input, beginning at the specified index position.
getAllMatches(Object, int, int) - Method in class gnu.regexp.RE
Returns an array of all matches found in the input string, beginning at the specified index position and using the specified execution flags.
getEndIndex() - Method in class gnu.regexp.REMatch
Returns the index within the input string where the match in its entirety ends.
getEndIndex(int) - Method in class gnu.regexp.REMatch
Returns the index within the input string used to generate this match where subexpression number sub ends, or -1 if the subexpression does not exist.
getLineSeparator() - Method in class gnu.regexp.RESyntax
Returns the currently active line separator string.
getMatch(Object) - Method in class gnu.regexp.RE
Returns the first match found in the input.
getMatch(Object, int) - Method in class gnu.regexp.RE
Returns the first match found in the input, beginning the search at the specified index.
getMatch(Object, int, int) - Method in class gnu.regexp.RE
Returns the first match found in the input, beginning the search at the specified index, and using the specified execution flags.
getMatch(Object, int, int, StringBuffer) - Method in class gnu.regexp.RE
Returns the first match found in the input, beginning the search at the specified index, and using the specified execution flags.
getMatchEnumeration(Object) - Method in class gnu.regexp.RE
Returns an REMatchEnumeration that can be used to iterate over the matches found in the input text.
getMatchEnumeration(Object, int) - Method in class gnu.regexp.RE
Returns an REMatchEnumeration that can be used to iterate over the matches found in the input text.
getMatchEnumeration(Object, int, int) - Method in class gnu.regexp.RE
Returns an REMatchEnumeration that can be used to iterate over the matches found in the input text.
getMessage() - Method in class gnu.regexp.REException
Reports the descriptive message associated with this exception as well as its index position in the string or character array being compiled.
getMinimumLength() - Method in class gnu.regexp.RE
Returns the minimum number of characters that could possibly constitute a match of this regular expression.
getNumSubs() - Method in class gnu.regexp.RE
Returns the maximum number of subexpressions in this regular expression.
getPosition() - Method in class gnu.regexp.REException
Returns the position, relative to the string or character array being compiled, where the error occurred.
getStartIndex() - Method in class gnu.regexp.REMatch
Returns the index within the input text where the match in its entirety began.
getStartIndex(int) - Method in class gnu.regexp.REMatch
Returns the index within the input string used to generate this match where subexpression number sub begins, or -1 if the subexpression does not exist.
getSubEndIndex(int) - Method in class gnu.regexp.REMatch
Deprecated. Use getEndIndex(int) instead
getSubStartIndex(int) - Method in class gnu.regexp.REMatch
Deprecated. Use getStartIndex(int) instead.
getType() - Method in class gnu.regexp.REException
Returns the type of the exception, one of the constants listed above.

H

hasMoreElements() - Method in class gnu.regexp.REMatchEnumeration
Returns true if there are more matches in the input text.
hasMoreMatches() - Method in class gnu.regexp.REMatchEnumeration
Returns true if there are more matches in the input text.
hasMoreMatches(StringBuffer) - Method in class gnu.regexp.REMatchEnumeration
Returns true if there are more matches in the input text.

I

isMatch(Object) - Method in class gnu.regexp.RE
Checks if the input in its entirety is an exact match of this regular expression.
isMatch(Object, int) - Method in class gnu.regexp.RE
Checks if the input string, starting from index, is an exact match of this regular expression.
isMatch(Object, int, int) - Method in class gnu.regexp.RE
Checks if the input, starting from index and using the specified execution flags, is an exact match of this regular expression.
isValid() - Method in interface gnu.regexp.CharIndexed
Returns true if the most recent move() operation placed the cursor position at a valid position in the input.

M

makeFinal() - Method in class gnu.regexp.RESyntax
Called internally when constructing predefined syntaxes so their interpretation cannot vary.
markSupported() - Method in class gnu.regexp.REFilterInputStream
Deprecated. Returns false.
markSupported() - Method in class gnu.regexp.REFilterReader
Returns false.
move(int) - Method in interface gnu.regexp.CharIndexed
Shifts the input buffer by a given number of positions.

N

nextElement() - Method in class gnu.regexp.REMatchEnumeration
Returns the next match in the input text.
nextMatch() - Method in class gnu.regexp.REMatchEnumeration
Returns the next match in the input text.

O

OUT_OF_BOUNDS - Static variable in interface gnu.regexp.CharIndexed
Defines a constant (0xFFFF was somewhat arbitrarily chosen) that can be returned by the charAt() function indicating that the specified index is out of range.

R

RE - class gnu.regexp.RE.
RE provides the user interface for compiling and matching regular expressions.
RE_BACKSLASH_ESCAPE_IN_LISTS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_BK_PLUS_QM - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_CHAR_CLASS_ESC_IN_LISTS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_CHAR_CLASS_ESCAPES - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_CHAR_CLASSES - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_COMMENTS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_CONTEXT_INDEP_ANCHORS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_CONTEXT_INDEP_OPS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_CONTEXT_INVALID_OPS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_DOT_NEWLINE - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_DOT_NOT_NULL - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_HAT_LISTS_NOT_NEWLINE - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_INTERVALS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_LIMITED_OPS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_LOOKAHEAD - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_NEWLINE_ALT - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_NO_BK_BRACES - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_NO_BK_PARENS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_NO_BK_REFS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_NO_BK_VBAR - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_NO_EMPTY_RANGES - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_PURE_GROUPING - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_STINGY_OPS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_STRING_ANCHORS - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE_SYNTAX_AWK - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_ED - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_EGREP - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_EMACS - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_GREP - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_PERL4 - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_PERL4_S - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_PERL5 - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_PERL5_S - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_POSIX_AWK - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_POSIX_BASIC - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_POSIX_EGREP - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_POSIX_EXTENDED - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_POSIX_MINIMAL_BASIC - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_POSIX_MINIMAL_EXTENDED - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_SYNTAX_SED - Static variable in class gnu.regexp.RESyntax
Predefined syntax.
RE_UNMATCHED_RIGHT_PAREN_ORD - Static variable in class gnu.regexp.RESyntax
Syntax bit.
RE(Object) - Constructor for class gnu.regexp.RE
Constructs a regular expression pattern buffer without any compilation flags set, and using the default syntax (RESyntax.RE_SYNTAX_PERL5).
RE(Object, int) - Constructor for class gnu.regexp.RE
Constructs a regular expression pattern buffer using the specified compilation flags and the default syntax (RESyntax.RE_SYNTAX_PERL5).
RE(Object, int, RESyntax) - Constructor for class gnu.regexp.RE
Constructs a regular expression pattern buffer using the specified compilation flags and regular expression syntax.
read() - Method in class gnu.regexp.REFilterInputStream
Deprecated. Reads the next byte from the stream per the general contract of InputStream.read().
read() - Method in class gnu.regexp.REFilterReader
Reads the next character from the stream per the general contract of Reader.read().
read(byte[]) - Method in class gnu.regexp.REFilterInputStream
Deprecated. Reads from the stream into the provided array.
read(byte[], int, int) - Method in class gnu.regexp.REFilterInputStream
Deprecated. Reads from the stream into the provided array.
read(char[]) - Method in class gnu.regexp.REFilterReader
Reads from the stream into the provided array.
read(char[], int, int) - Method in class gnu.regexp.REFilterReader
Reads from the stream into the provided array.
REException - exception gnu.regexp.REException.
This is the regular expression exception class.
REFilterInputStream - class gnu.regexp.REFilterInputStream.
Deprecated. This class cannot properly handle all character encodings. For proper handling, use the REFilterReader class instead.
REFilterInputStream(InputStream, RE, String) - Constructor for class gnu.regexp.REFilterInputStream
Deprecated. Creates an REFilterInputStream.
REFilterReader - class gnu.regexp.REFilterReader.
Replaces instances of a given RE with replacement text.
REFilterReader(Reader, RE, String) - Constructor for class gnu.regexp.REFilterReader
Creates an REFilterReader.
REG_ANCHORINDEX - Static variable in class gnu.regexp.RE
Execution flag.
REG_BADBR - Static variable in class gnu.regexp.REException
Error flag.
REG_BADPAT - Static variable in class gnu.regexp.REException
Error flag.
REG_BADRPT - Static variable in class gnu.regexp.REException
Error flag.
REG_DOT_NEWLINE - Static variable in class gnu.regexp.RE
Compilation flag.
REG_EBRACE - Static variable in class gnu.regexp.REException
Error flag.
REG_EBRACK - Static variable in class gnu.regexp.REException
Error flag.
REG_ECTYPE - Static variable in class gnu.regexp.REException
Error flag.
REG_EEND - Static variable in class gnu.regexp.REException
Error flag.
REG_EPAREN - Static variable in class gnu.regexp.REException
Error flag.
REG_ERANGE - Static variable in class gnu.regexp.REException
Error flag.
REG_ESCAPE - Static variable in class gnu.regexp.REException
Error flag.
REG_ESIZE - Static variable in class gnu.regexp.REException
Error flag.
REG_ESPACE - Static variable in class gnu.regexp.REException
Error flag.
REG_ESUBREG - Static variable in class gnu.regexp.REException
Error flag.
REG_ICASE - Static variable in class gnu.regexp.RE
Compilation flag.
REG_MULTILINE - Static variable in class gnu.regexp.RE
Compilation flag.
REG_NO_INTERPOLATE - Static variable in class gnu.regexp.RE
Execution flag.
REG_NOTBOL - Static variable in class gnu.regexp.RE
Execution flag.
REG_NOTEOL - Static variable in class gnu.regexp.RE
Execution flag.
REMatch - class gnu.regexp.REMatch.
An instance of this class represents a match completed by a gnu.regexp matching function.
REMatchEnumeration - class gnu.regexp.REMatchEnumeration.
An REMatchEnumeration enumerates regular expression matches over a given input text.
RESyntax - class gnu.regexp.RESyntax.
An RESyntax specifies the way a regular expression will be compiled.
RESyntax() - Constructor for class gnu.regexp.RESyntax
Construct a new syntax object with all bits turned off.
RESyntax(RESyntax) - Constructor for class gnu.regexp.RESyntax
Construct a new syntax object with all bits set the same as the other syntax.

S

set(int) - Method in class gnu.regexp.RESyntax
Set a given bit in this syntax.
setLineSeparator(String) - Method in class gnu.regexp.RESyntax
Changes the line separator string for regular expressions created using this RESyntax.
substitute(Object, String) - Method in class gnu.regexp.RE
Substitutes the replacement text for the first match found in the input.
substitute(Object, String, int) - Method in class gnu.regexp.RE
Substitutes the replacement text for the first match found in the input beginning at the specified index position.
substitute(Object, String, int, int) - Method in class gnu.regexp.RE
Substitutes the replacement text for the first match found in the input string, beginning at the specified index position and using the specified execution flags.
substituteAll(Object, String) - Method in class gnu.regexp.RE
Substitutes the replacement text for each non-overlapping match found in the input text.
substituteAll(Object, String, int) - Method in class gnu.regexp.RE
Substitutes the replacement text for each non-overlapping match found in the input text, starting at the specified index.
substituteAll(Object, String, int, int) - Method in class gnu.regexp.RE
Substitutes the replacement text for each non-overlapping match found in the input text, starting at the specified index and using the specified execution flags.
substituteInto(String) - Method in class gnu.regexp.REMatch
Substitute the results of this match to create a new string.

T

toString() - Method in class gnu.regexp.RE
Return a human readable form of the compiled regular expression, useful for debugging.
toString() - Method in class gnu.regexp.REMatch
Returns the string matching the pattern.
toString(int) - Method in class gnu.regexp.REMatch
Returns the string matching the given subexpression.

V

version() - Static method in class gnu.regexp.RE
Returns a string representing the version of the gnu.regexp package.

C G H I M N O R S T V