A C D E F G H L M N P Q R S T 
All Classes All Packages

A

appendReplacement(StringBuffer, String) - Method in class com.google.re2j.Matcher
Appends to sb two strings: the text from the append position up to the beginning of the most recent match, and then the replacement with submatch groups substituted for references of the form $n, where n is the group number in decimal.
appendReplacement(StringBuilder, String) - Method in class com.google.re2j.Matcher
Appends to sb two strings: the text from the append position up to the beginning of the most recent match, and then the replacement with submatch groups substituted for references of the form $n, where n is the group number in decimal.
appendTail(StringBuffer) - Method in class com.google.re2j.Matcher
Appends to sb the substring of the input from the append position to the end of the input.
appendTail(StringBuilder) - Method in class com.google.re2j.Matcher
Appends to sb the substring of the input from the append position to the end of the input.

C

CASE_INSENSITIVE - Static variable in class com.google.re2j.Pattern
Flag: case insensitive matching.
com.google.re2j - package com.google.re2j
This package provides an implementation of regular expression matching based on Russ Cox's linear-time RE2 algorithm.
compile(String) - Static method in class com.google.re2j.Pattern
Creates and returns a new Pattern corresponding to compiling regex with the default flags (0).
compile(String, int) - Static method in class com.google.re2j.Pattern
Creates and returns a new Pattern corresponding to compiling regex with the given flags.

D

DISABLE_UNICODE_GROUPS - Static variable in class com.google.re2j.Pattern
Flag: Unicode groups (e.g.
DOTALL - Static variable in class com.google.re2j.Pattern
Flag: dot (.) matches all characters, including newline.

E

end() - Method in class com.google.re2j.Matcher
Returns the end position of the most recent match.
end(int) - Method in class com.google.re2j.Matcher
Returns the end position of a subgroup of the most recent match.
end(String) - Method in class com.google.re2j.Matcher
Returns the end of the named group of the most recent match, or -1 if the group was not matched.
equals(Object) - Method in class com.google.re2j.Pattern
 

F

find() - Method in class com.google.re2j.Matcher
Matches the input against the pattern (unanchored).
find(int) - Method in class com.google.re2j.Matcher
Matches the input against the pattern (unanchored), starting at a specified position.
flags() - Method in class com.google.re2j.Pattern
Returns the flags used in the constructor.

G

getDescription() - Method in exception com.google.re2j.PatternSyntaxException
Retrieves the description of the error.
getIndex() - Method in exception com.google.re2j.PatternSyntaxException
Retrieves the error index.
getPattern() - Method in exception com.google.re2j.PatternSyntaxException
Retrieves the erroneous regular-expression pattern.
group() - Method in class com.google.re2j.Matcher
Returns the most recent match.
group(int) - Method in class com.google.re2j.Matcher
Returns the subgroup of the most recent match.
group(String) - Method in class com.google.re2j.Matcher
Returns the named group of the most recent match, or null if the group was not matched.
groupCount() - Method in class com.google.re2j.Matcher
Returns the number of subgroups in this pattern.
groupCount() - Method in class com.google.re2j.Pattern
Returns the number of capturing groups in this matcher's pattern.

H

hashCode() - Method in class com.google.re2j.Pattern
 

L

LONGEST_MATCH - Static variable in class com.google.re2j.Pattern
Flag: matches longest possible string.
lookingAt() - Method in class com.google.re2j.Matcher
Matches the beginning of input against the pattern (anchored start).

M

matcher(byte[]) - Method in class com.google.re2j.Pattern
 
matcher(CharSequence) - Method in class com.google.re2j.Pattern
Creates a new Matcher matching the pattern against the input.
Matcher - Class in com.google.re2j
A stateful iterator that interprets a regex Pattern on a specific input.
matches() - Method in class com.google.re2j.Matcher
Matches the entire input against the pattern (anchored start and end).
matches(byte[]) - Method in class com.google.re2j.Pattern
 
matches(String) - Method in class com.google.re2j.Pattern
 
matches(String, byte[]) - Static method in class com.google.re2j.Pattern
 
matches(String, CharSequence) - Static method in class com.google.re2j.Pattern
Matches a string against a regular expression.
MULTILINE - Static variable in class com.google.re2j.Pattern
Flag: multiline matching: ^ and $ match at beginning and end of line, not just beginning and end of input.

N

namedGroups() - Method in class com.google.re2j.Pattern
Return a map of the capturing groups in this matcher's pattern, where key is the name and value is the index of the group in the pattern.

P

pattern() - Method in class com.google.re2j.Matcher
Returns the Pattern associated with this Matcher.
pattern() - Method in class com.google.re2j.Pattern
Returns the pattern used in the constructor.
Pattern - Class in com.google.re2j
A compiled representation of an RE2 regular expression, mimicking the java.util.regex.Pattern API.
PatternSyntaxException - Exception in com.google.re2j
An exception thrown by the parser if the pattern was invalid.
PatternSyntaxException(String) - Constructor for exception com.google.re2j.PatternSyntaxException
 
PatternSyntaxException(String, String) - Constructor for exception com.google.re2j.PatternSyntaxException
 

Q

quote(String) - Static method in class com.google.re2j.Pattern
Returns a literal pattern string for the specified string.
quoteReplacement(String) - Static method in class com.google.re2j.Matcher
Quotes '\' and '$' in s, so that the returned string could be used in appendReplacement(java.lang.StringBuffer, java.lang.String) as a literal replacement of s.

R

replaceAll(String) - Method in class com.google.re2j.Matcher
Returns the input with all matches replaced by replacement, interpreted as for appendReplacement.
replaceFirst(String) - Method in class com.google.re2j.Matcher
Returns the input with the first match replaced by replacement, interpreted as for appendReplacement.
reset() - Method in class com.google.re2j.Matcher
Resets the Matcher, rewinding input and discarding any match information.
reset() - Method in class com.google.re2j.Pattern
Releases memory used by internal caches associated with this pattern.
reset(byte[]) - Method in class com.google.re2j.Matcher
Resets the Matcher and changes the input.
reset(CharSequence) - Method in class com.google.re2j.Matcher
Resets the Matcher and changes the input.

S

split(String) - Method in class com.google.re2j.Pattern
Splits input around instances of the regular expression.
split(String, int) - Method in class com.google.re2j.Pattern
Splits input around instances of the regular expression.
start() - Method in class com.google.re2j.Matcher
Returns the start position of the most recent match.
start(int) - Method in class com.google.re2j.Matcher
Returns the start position of a subgroup of the most recent match.
start(String) - Method in class com.google.re2j.Matcher
Returns the start of the named group of the most recent match, or -1 if the group was not matched.

T

toString() - Method in class com.google.re2j.Pattern
 
A C D E F G H L M N P Q R S T 
All Classes All Packages