A C D E F G H I J L M N O P R S T U V W X

A

accept(File, String) - Method in class jregex.util.io.WildcardFilter
 
ACCEPT_INCOMPLETE - Static variable in class jregex.Matcher
Experimental option; if a text ends up before the end of a pattern,report a match.
ANCHOR_END - Static variable in class jregex.Matcher
The same effect as "$" without REFlags.MULTILINE.
ANCHOR_LASTMATCH - Static variable in class jregex.Matcher
The same effect as "\\G".
ANCHOR_START - Static variable in class jregex.Matcher
The same effect as "^" without REFlags.MULTILINE.
ANY_CHAR - Static variable in class jregex.WildcardPattern
 
append(char) - Method in interface jregex.TextBuffer
 
append(char[], int, int) - Method in interface jregex.TextBuffer
 
append(String) - Method in interface jregex.TextBuffer
 
appendSubstitution(MatchResult, TextBuffer) - Method in class jregex.PerlSubstitution
 
appendSubstitution(MatchResult, TextBuffer) - Method in interface jregex.Substitution
 

C

charAt(int) - Method in class jregex.Matcher
 
charAt(int, int) - Method in class jregex.Matcher
 
charAt(int) - Method in interface jregex.MatchResult
 
charAt(int, int) - Method in interface jregex.MatchResult
 
compile(String, int) - Method in class jregex.Pattern
 
compile(String, String, String, int) - Method in class jregex.WildcardPattern
 
convertSpecials(String, String, String) - Static method in class jregex.WildcardPattern
 
count() - Method in interface jregex.MatchIterator
 

D

DEFAULT - Static variable in interface jregex.REFlags
All the foolowing options turned off
defaultInstantiator - Static variable in class jregex.util.io.ListEnumerator
 
directory() - Method in class jregex.util.io.PathPattern
Deprecated. Is meaningless with regard to variable paths (since v.1.2)
DOTALL - Static variable in interface jregex.REFlags
Affects the behaviour of dot(".") tag.

E

end() - Method in class jregex.Matcher
 
end(int) - Method in class jregex.Matcher
 
end() - Method in interface jregex.MatchResult
 
end(int) - Method in interface jregex.MatchResult
 
enumerateFiles() - Method in class jregex.util.io.PathPattern
 

F

files() - Method in class jregex.util.io.PathPattern
 
find() - Method in class jregex.Matcher
Searches through a target for a matching substring, starting from just after the end of last match.
find(int) - Method in class jregex.Matcher
Searches through a target for a matching substring, starting from just after the end of last match.
find() - Method in class jregex.util.io.ListEnumerator
 
findAll() - Method in class jregex.Matcher
The same as findAll(int), but with default behaviour;
findAll(int) - Method in class jregex.Matcher
Returns an iterator over the matches found by subsequently calling find(options), the search starts from the zero position.

G

getGroup(int, TextBuffer) - Method in class jregex.Matcher
 
getGroup(String, TextBuffer) - Method in class jregex.Matcher
 
getGroup(int, StringBuffer) - Method in class jregex.Matcher
 
getGroup(String, StringBuffer) - Method in class jregex.Matcher
 
getGroup(int, StringBuffer) - Method in interface jregex.MatchResult
 
getGroup(int, TextBuffer) - Method in interface jregex.MatchResult
 
getGroup(String, StringBuffer) - Method in interface jregex.MatchResult
 
getGroup(String, TextBuffer) - Method in interface jregex.MatchResult
 
group(int) - Method in class jregex.Matcher
 
group(String) - Method in class jregex.Matcher
 
group(int) - Method in interface jregex.MatchResult
 
group(String) - Method in interface jregex.MatchResult
 
groupCount() - Method in class jregex.Matcher
 
groupCount() - Method in interface jregex.MatchResult
 
groupCount() - Method in class jregex.Pattern
How many capturing groups this expression includes?
groupId(String) - Method in class jregex.Pattern
Get numeric id for a group name.
groups() - Method in class jregex.Matcher
 
groupv() - Method in class jregex.Matcher
 

H

hasMore() - Method in interface jregex.MatchIterator
 
hasMore() - Method in class jregex.RETokenizer
 
hasMoreElements() - Method in class jregex.RETokenizer
 

I

IGNORE_CASE - Static variable in interface jregex.REFlags
Pattern "a" matches both "a" and "A".
IGNORE_SPACES - Static variable in interface jregex.REFlags
Affects how the space characters are interpeted in the expression.
instantiate(File, String) - Method in interface jregex.util.io.ListEnumerator.Instantiator
 
isCaptured() - Method in class jregex.Matcher
 
isCaptured(int) - Method in class jregex.Matcher
 
isCaptured(String) - Method in class jregex.Matcher
 
isCaptured() - Method in interface jregex.MatchResult
 
isCaptured(int) - Method in interface jregex.MatchResult
 
isCaptured(String) - Method in interface jregex.MatchResult
 
isEmptyEnabled() - Method in class jregex.RETokenizer
 
isStart() - Method in class jregex.Matcher
Deprecated. Replaced by isPrefix()

J

jregex - package jregex
 
jregex.util.io - package jregex.util.io
 

L

length() - Method in class jregex.Matcher
 
length(int) - Method in class jregex.Matcher
 
length() - Method in interface jregex.MatchResult
 
length(int) - Method in interface jregex.MatchResult
 
ListEnumerator - Class in jregex.util.io
 
ListEnumerator(File, ListEnumerator.Instantiator) - Constructor for class jregex.util.io.ListEnumerator
 
ListEnumerator(File, String[], ListEnumerator.Instantiator) - Constructor for class jregex.util.io.ListEnumerator
 
ListEnumerator.Instantiator - Interface in jregex.util.io
 

M

MATCH - Static variable in interface jregex.MatchResult
 
Matcher - Class in jregex
Matcher instance is an automaton that actually performs matching.
matcher() - Method in class jregex.Pattern
Returns a targetless matcher.
matcher(String) - Method in class jregex.Pattern
Returns a matcher for a specified string.
matcher(char[], int, int) - Method in class jregex.Pattern
Returns a matcher for a specified region.
matcher(MatchResult, int) - Method in class jregex.Pattern
Returns a matcher for a match result (in a performance-friendly way).
matcher(MatchResult, String) - Method in class jregex.Pattern
Just as above, yet with symbolic group name.
matcher(Reader, int) - Method in class jregex.Pattern
Returns a matcher taking a text stream as target.
matches() - Method in class jregex.Matcher
Tells whether a current target matches the whole pattern.
matches(String) - Method in class jregex.Matcher
Just a combination of setTarget(String) and matches().
matches(String) - Method in class jregex.Pattern
A shorthand for Pattern.matcher(String).matches().
matchesPrefix() - Method in class jregex.Matcher
Tells whether the entire target matches the beginning of the pattern.
MatchIterator - Interface in jregex
 
MatchResult - Interface in jregex
 
MULTILINE - Static variable in interface jregex.REFlags
Affects the behaviour of "^" and "$" tags.

N

names() - Method in class jregex.util.io.PathPattern
Deprecated. Is meaningless with regard to variable paths (since v.1.2)
nextElement() - Method in class jregex.RETokenizer
 
nextMatch() - Method in interface jregex.MatchIterator
 
nextToken() - Method in class jregex.RETokenizer
 

O

Optimizer - Class in jregex
 

P

PathPattern - Class in jregex.util.io
A special-purpose subclass of the Pattern class.
PathPattern(String) - Constructor for class jregex.util.io.PathPattern
 
PathPattern(String, boolean) - Constructor for class jregex.util.io.PathPattern
 
PathPattern(String, int) - Constructor for class jregex.util.io.PathPattern
 
PathPattern(File, String, boolean) - Constructor for class jregex.util.io.PathPattern
 
PathPattern(File, String, int) - Constructor for class jregex.util.io.PathPattern
 
pattern() - Method in class jregex.Matcher
 
pattern() - Method in interface jregex.MatchResult
 
Pattern - Class in jregex
A handle for a precompiled regular expression.
To match a regular expression myExpr against a text myString one should first create a Pattern object:
Pattern() - Constructor for class jregex.Pattern
 
Pattern(String) - Constructor for class jregex.Pattern
Compiles an expression with default flags.
Pattern(String, String) - Constructor for class jregex.Pattern
Compiles a regular expression using Perl5-style flags.
Pattern(String, int) - Constructor for class jregex.Pattern
Compiles a regular expression using REFlags.
PatternSyntaxException - Exception in jregex
Is thrown when Pattern constructor's argument doesn't conform the Perl5 regular expression syntax.
PatternSyntaxException(String) - Constructor for exception jregex.PatternSyntaxException
 
PerlSubstitution - Class in jregex
An implementation of the Substitution interface.
PerlSubstitution(String) - Constructor for class jregex.PerlSubstitution
 
prefix() - Method in class jregex.Matcher
 
PREFIX - Static variable in interface jregex.MatchResult
 
prefix() - Method in interface jregex.MatchResult
 
proceed() - Method in class jregex.Matcher
Continues to search from where the last search left off.
proceed(int) - Method in class jregex.Matcher
Continues to search from where the last search left off using specified options:

R

REFlags - Interface in jregex
 
replace(String) - Method in class jregex.Replacer
 
replace(char[], int, int) - Method in class jregex.Replacer
 
replace(MatchResult, int) - Method in class jregex.Replacer
 
replace(Reader, int) - Method in class jregex.Replacer
 
replace(String, StringBuffer) - Method in class jregex.Replacer
 
replace(char[], int, int, StringBuffer) - Method in class jregex.Replacer
 
replace(MatchResult, int, StringBuffer) - Method in class jregex.Replacer
 
replace(MatchResult, String, StringBuffer) - Method in class jregex.Replacer
 
replace(Reader, int, StringBuffer) - Method in class jregex.Replacer
 
replace(String, TextBuffer) - Method in class jregex.Replacer
 
replace(char[], int, int, TextBuffer) - Method in class jregex.Replacer
 
replace(MatchResult, int, TextBuffer) - Method in class jregex.Replacer
 
replace(MatchResult, String, TextBuffer) - Method in class jregex.Replacer
 
replace(Reader, int, TextBuffer) - Method in class jregex.Replacer
 
replace(Matcher, Substitution, TextBuffer) - Static method in class jregex.Replacer
Replaces all occurences of a matcher's pattern in a matcher's target by a given substitution appending the result to a buffer.
The substitution starts from current matcher's position, current match not included.
replace(Matcher, Substitution, Writer) - Static method in class jregex.Replacer
 
replace(String, Writer) - Method in class jregex.Replacer
 
replace(char[], int, int, Writer) - Method in class jregex.Replacer
 
replace(MatchResult, int, Writer) - Method in class jregex.Replacer
 
replace(MatchResult, String, Writer) - Method in class jregex.Replacer
 
replace(Reader, int, Writer) - Method in class jregex.Replacer
 
replacer(String) - Method in class jregex.Pattern
Returns a replacer of a pattern by specified perl-like expression.
replacer(Substitution) - Method in class jregex.Pattern
Returns a replacer will substitute all occurences of a pattern through applying a user-defined substitution model.
Replacer - Class in jregex
The Replacer class suggests some methods to replace occurences of a pattern either by a result of evaluation of a perl-like expression, or by a plain string, or according to a custom substitution model, provided as a Substitution interface implementation.
A Replacer instance may be obtained either using Pattern.replacer(...) method, or by constructor:
Replacer(Pattern, Substitution) - Constructor for class jregex.Replacer
 
Replacer(Pattern, String) - Constructor for class jregex.Replacer
 
Replacer(Pattern, String, boolean) - Constructor for class jregex.Replacer
 
reset() - Method in class jregex.RETokenizer
 
RETokenizer - Class in jregex
The Tokenizer class suggests a methods to break a text into tokens using occurences of a pattern as delimiters.
RETokenizer(Pattern, String) - Constructor for class jregex.RETokenizer
 
RETokenizer(Pattern, char[], int, int) - Constructor for class jregex.RETokenizer
 
RETokenizer(Pattern, Reader, int) - Constructor for class jregex.RETokenizer
 
RETokenizer(Matcher, boolean) - Constructor for class jregex.RETokenizer
 

S

setEmptyEnabled(boolean) - Method in class jregex.RETokenizer
 
setPosition(int) - Method in class jregex.Matcher
Allows to set a position the subsequent find()/find(int) will start from.
setSubstitution(String, boolean) - Method in class jregex.Replacer
 
setTarget(Matcher, int) - Method in class jregex.Matcher
This method allows to efficiently pass data between matchers.
setTarget(String) - Method in class jregex.Matcher
Supplies a text to search in/match with.
setTarget(String, int, int) - Method in class jregex.Matcher
Supplies a text to search in/match with, as a part of String.
setTarget(char[], int, int) - Method in class jregex.Matcher
Supplies a text to search in/match with, as a part of char array.
setTarget(char[], int, int, boolean) - Method in class jregex.Matcher
To be used with much care.
setTarget(Reader, int) - Method in class jregex.Matcher
Supplies a text to search in/match with through a stream.
skip() - Method in class jregex.Matcher
Sets the current search position just after the end of last match.
split() - Method in class jregex.RETokenizer
 
start() - Method in class jregex.Matcher
 
start(int) - Method in class jregex.Matcher
 
start() - Method in interface jregex.MatchResult
 
start(int) - Method in interface jregex.MatchResult
 
startsWith(String) - Method in class jregex.Pattern
A shorthand for Pattern.matcher(String).matchesPrefix().
Substitution - Interface in jregex
 
suffix() - Method in class jregex.Matcher
 
SUFFIX - Static variable in interface jregex.MatchResult
 
suffix() - Method in interface jregex.MatchResult
 

T

target() - Method in class jregex.Matcher
 
TARGET - Static variable in interface jregex.MatchResult
 
target() - Method in interface jregex.MatchResult
 
targetChars() - Method in class jregex.Matcher
 
targetChars() - Method in interface jregex.MatchResult
 
targetEnd() - Method in class jregex.Matcher
 
targetEnd() - Method in interface jregex.MatchResult
 
targetStart() - Method in class jregex.Matcher
 
targetStart() - Method in interface jregex.MatchResult
 
TextBuffer - Interface in jregex
 
THRESHOLD - Static variable in class jregex.Optimizer
 
tokenizer(String) - Method in class jregex.Pattern
Tokenizes a text by an occurences of the pattern.
tokenizer(char[], int, int) - Method in class jregex.Pattern
Tokenizes a specified region by an occurences of the pattern.
tokenizer(Reader, int) - Method in class jregex.Pattern
Tokenizes a specified region by an occurences of the pattern.
toString() - Method in class jregex.Matcher
 
toString() - Method in class jregex.Pattern
 
toString() - Method in class jregex.PerlSubstitution
 
toString() - Method in class jregex.util.io.PathPattern
 
toString() - Method in class jregex.WildcardPattern
 
toString_d() - Method in class jregex.Matcher
 
toString_d() - Method in class jregex.Pattern
Returns a less or more readable representation of a bytecode for the pattern.

U

UNICODE - Static variable in interface jregex.REFlags
Affects whether the predefined classes("\d","\s","\w",etc) in the expression are interpreted as belonging to Unicode.

V

value(MatchResult) - Method in class jregex.PerlSubstitution
 

W

WildcardFilter - Class in jregex.util.io
 
WildcardFilter(String) - Constructor for class jregex.util.io.WildcardFilter
 
WildcardFilter(String, boolean) - Constructor for class jregex.util.io.WildcardFilter
 
WildcardPattern - Class in jregex
A Pattern subclass that accepts a simplified pattern syntax: ? - matches any single character; * - matches any number of any characters; all the rest - matches itself.
WildcardPattern(String) - Constructor for class jregex.WildcardPattern
 
WildcardPattern(String, boolean) - Constructor for class jregex.WildcardPattern
 
WildcardPattern(String, int) - Constructor for class jregex.WildcardPattern
 
WildcardPattern(String, String, int) - Constructor for class jregex.WildcardPattern
 
WildcardPattern() - Constructor for class jregex.WildcardPattern
 
WORD_CHAR - Static variable in class jregex.WildcardPattern
 
wrap(StringBuffer) - Static method in class jregex.Replacer
 
wrap(Writer) - Static method in class jregex.Replacer
 

X

XML_SCHEMA - Static variable in interface jregex.REFlags
Turns on the compatibility with XML Schema regular expressions.

A C D E F G H I J L M N O P R S T U V W X

Copyright © 2011. All Rights Reserved.