Index

A B C D E F G H L M N O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

appendReplacement(StringBuffer, String) - Method in class org.pcre4j.regex.Matcher
Implements a non-terminal append-and-replace step.
appendReplacement(StringBuilder, String) - Method in class org.pcre4j.regex.Matcher
Implements a non-terminal append-and-replace step.
appendTail(StringBuffer) - Method in class org.pcre4j.regex.Matcher
Implements a terminal append-and-replace step.
appendTail(StringBuilder) - Method in class org.pcre4j.regex.Matcher
Implements a terminal append-and-replace step.
asMatchPredicate() - Method in class org.pcre4j.regex.Pattern
Creates a predicate that tests if this pattern matches a given input.
asPredicate() - Method in class org.pcre4j.regex.Pattern
Creates a predicate that tests if this pattern is found in a given input.

B

builder(String) - Static method in class org.pcre4j.regex.Pattern
Creates a new builder for constructing a Pattern with custom match limits.
builder(IPcre2, String) - Static method in class org.pcre4j.regex.Pattern
Creates a new builder for constructing a Pattern with custom match limits.

C

CANON_EQ - Static variable in class org.pcre4j.regex.Pattern
A Pattern.CANON_EQ-compatible flag that enables canonical equivalence matching.
CASE_INSENSITIVE - Static variable in class org.pcre4j.regex.Pattern
A Pattern.CASE_INSENSITIVE-compatible flag implemented via Pcre2CompileOption.CASELESS
COMMENTS - Static variable in class org.pcre4j.regex.Pattern
A Pattern.COMMENTS-compatible flag implemented via Pcre2CompileOption.EXTENDED
compile() - Method in class org.pcre4j.regex.Pattern.Builder
Compiles the pattern with the configured flags and match limits.
compile(String) - Static method in class org.pcre4j.regex.Pattern
Compiles the given regular expression into a PCRE pattern.
compile(String, int) - Static method in class org.pcre4j.regex.Pattern
Compiles the given regular expression into a PCRE pattern using the given flags.
compile(IPcre2, String) - Static method in class org.pcre4j.regex.Pattern
Compiles the given regular expression into a PCRE pattern.
compile(IPcre2, String, int) - Static method in class org.pcre4j.regex.Pattern
Compiles the given regular expression into a PCRE pattern using the given flags.

D

DEPTH_LIMIT_PROPERTY - Static variable in class org.pcre4j.regex.Matcher
System property name for configuring the backtracking depth limit.
depthLimit(int) - Method in class org.pcre4j.regex.Pattern.Builder
Sets the backtracking depth limit for this pattern.
DOTALL - Static variable in class org.pcre4j.regex.Pattern
A Pattern.DOTALL-compatible flag implemented via Pcre2CompileOption.DOTALL

E

end() - Method in class org.pcre4j.regex.Matcher
Returns the end index of the most recent match
end() - Method in class org.pcre4j.regex.Matcher.MatchResult
 
end(int) - Method in class org.pcre4j.regex.Matcher
Returns the end index of the specified capturing group in the most recent match
end(int) - Method in class org.pcre4j.regex.Matcher.MatchResult
 
end(String) - Method in class org.pcre4j.regex.Matcher
Returns the end index of the specified capturing group in the most recent match
end(String) - Method in class org.pcre4j.regex.Matcher.MatchResult
 

F

find() - Method in class org.pcre4j.regex.Matcher
Find the next pattern match in the input.
find(int) - Method in class org.pcre4j.regex.Matcher
Resets this matcher and attempts to find the next pattern match in the input, starting at the specified index.
flags() - Method in class org.pcre4j.regex.Pattern
Returns the flags used to compile this pattern.
flags(int) - Method in class org.pcre4j.regex.Pattern.Builder
Sets the compile flags for this pattern.

G

getErrorCode() - Method in exception class org.pcre4j.regex.MatchLimitException
Deprecated, for removal: This API element is subject to removal in a future version.
Use Pcre2Exception.errorCode() instead.
group() - Method in class org.pcre4j.regex.Matcher
Returns the input subsequence captured by the given group in the most recent match.
group() - Method in class org.pcre4j.regex.Matcher.MatchResult
 
group(int) - Method in class org.pcre4j.regex.Matcher
Returns the input subsequence captured by the given group in the most recent match.
group(int) - Method in class org.pcre4j.regex.Matcher.MatchResult
 
group(String) - Method in class org.pcre4j.regex.Matcher
Returns the input subsequence captured by the given group in the most recent match.
group(String) - Method in class org.pcre4j.regex.Matcher.MatchResult
 
groupCount() - Method in class org.pcre4j.regex.Matcher
Returns the number of capturing groups in this matcher's pattern.
groupCount() - Method in class org.pcre4j.regex.Matcher.MatchResult
 

H

hasAnchoringBounds() - Method in class org.pcre4j.regex.Matcher
Queries the anchoring of region bounds for this matcher.
hasMatch() - Method in class org.pcre4j.regex.Matcher
Returns true if the matcher has found a match, otherwise false
hasMatch() - Method in class org.pcre4j.regex.Matcher.MatchResult
 
hasTransparentBounds() - Method in class org.pcre4j.regex.Matcher
Queries the transparency of region bounds for this matcher.
HEAP_LIMIT_PROPERTY - Static variable in class org.pcre4j.regex.Matcher
System property name for configuring the heap memory limit.
heapLimit(int) - Method in class org.pcre4j.regex.Pattern.Builder
Sets the heap memory limit for this pattern.
hitEnd() - Method in class org.pcre4j.regex.Matcher
Returns true if the end of input was hit by the search engine in the last match operation performed by this matcher.

L

LITERAL - Static variable in class org.pcre4j.regex.Pattern
A Pattern.LITERAL-compatible flag implemented via Pcre2CompileOption.LITERAL
lookingAt() - Method in class org.pcre4j.regex.Matcher
Attempts to match the input sequence, starting at the beginning of the region, against the pattern

M

MATCH_LIMIT_PROPERTY - Static variable in class org.pcre4j.regex.Matcher
System property name for configuring the match limit.
matcher(CharSequence) - Method in class org.pcre4j.regex.Pattern
Creates a matcher that will match the given input against this pattern.
Matcher - Class in org.pcre4j.regex
Performs match operations on a character sequence by interpreting a Pattern using the PCRE library yet aims to have a Matcher-alike API.
Matcher.MatchResult - Class in org.pcre4j.regex
An immutable match result
matches() - Method in class org.pcre4j.regex.Matcher
Attempts to match the input sequence, from the start of the region till its end, against the pattern
matches(String, CharSequence) - Static method in class org.pcre4j.regex.Pattern
Compiles the given regular expression and matches the given input against it.
matches(IPcre2, String, CharSequence) - Static method in class org.pcre4j.regex.Pattern
Compiles the given regular expression and matches the given input against it.
matchLimit(int) - Method in class org.pcre4j.regex.Pattern.Builder
Sets the match limit for this pattern.
MatchLimitException - Exception Class in org.pcre4j.regex
Thrown when a match operation exceeds a configured resource limit.
MatchLimitException(String, int) - Constructor for exception class org.pcre4j.regex.MatchLimitException
Creates a new MatchLimitException with the given message and PCRE2 error code.
MULTILINE - Static variable in class org.pcre4j.regex.Pattern
A Pattern.MULTILINE-compatible flag implemented via Pcre2CompileOption.MULTILINE

N

namedGroups() - Method in class org.pcre4j.regex.Matcher.MatchResult
 
namedGroups() - Method in class org.pcre4j.regex.Matcher
Returns a map of named groups in the pattern.
namedGroups() - Method in class org.pcre4j.regex.Pattern
Returns a map of named groups in this pattern.

O

org.pcre4j.regex - module org.pcre4j.regex
PCRE4J Regex — a Pattern-compatible API backed by PCRE2.
org.pcre4j.regex - package org.pcre4j.regex
 

P

pattern() - Method in class org.pcre4j.regex.Matcher
Returns the pattern that this matcher uses to match against the input
pattern() - Method in class org.pcre4j.regex.Pattern
Returns the regular expression that was compiled.
Pattern - Class in org.pcre4j.regex
A compiled representation of a regular expression that uses the PCRE library yet aims to have a Pattern-alike API.
Pattern.Builder - Class in org.pcre4j.regex
A builder for constructing Pattern instances with custom match limits.

Q

quote(String) - Static method in class org.pcre4j.regex.Pattern
Returns a literal pattern String for the specified String.
quoteReplacement(String) - Static method in class org.pcre4j.regex.Matcher
Returns a literal replacement string for the specified string.

R

region(int, int) - Method in class org.pcre4j.regex.Matcher
Sets the region of the input that this matcher uses to match against the pattern
regionEnd() - Method in class org.pcre4j.regex.Matcher
Returns the end index of the region (exclusive) that this matcher uses to match against the pattern
regionStart() - Method in class org.pcre4j.regex.Matcher
Returns the start index of the region (inclusive) that this matcher uses to match against the pattern
replaceAll(String) - Method in class org.pcre4j.regex.Matcher
Replaces every subsequence of the input sequence that matches the pattern with the given replacement string.
replaceAll(Function<MatchResult, String>) - Method in class org.pcre4j.regex.Matcher
Replaces every subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result.
replaceFirst(String) - Method in class org.pcre4j.regex.Matcher
Replaces the first subsequence of the input sequence that matches the pattern with the given replacement string.
replaceFirst(Function<MatchResult, String>) - Method in class org.pcre4j.regex.Matcher
Replaces the first subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result.
requireEnd() - Method in class org.pcre4j.regex.Matcher
Returns true if more input could change a positive match into a negative one.
reset() - Method in class org.pcre4j.regex.Matcher
Resets this matcher
reset(CharSequence) - Method in class org.pcre4j.regex.Matcher
Resets this matcher with a new input character sequence
Resource Lifecycle - Search tag in class org.pcre4j.regex.Matcher
Section
Resource Lifecycle - Search tag in class org.pcre4j.regex.Pattern
Section
results() - Method in class org.pcre4j.regex.Matcher
Returns a stream of match results for each subsequence of the input sequence that matches the pattern.

S

split(CharSequence) - Method in class org.pcre4j.regex.Pattern
Splits the given input around matches of this pattern.
split(CharSequence, int) - Method in class org.pcre4j.regex.Pattern
Splits the given input around matches of this pattern.
split(CharSequence, int, boolean) - Method in class org.pcre4j.regex.Pattern
Splits the given input around matches of this pattern and returns either just the strings or both the strings and the matching delimiters.
splitAsStream(CharSequence) - Method in class org.pcre4j.regex.Pattern
Creates a stream from the given input sequence around matches of this pattern.
splitWithDelimiters(CharSequence, int) - Method in class org.pcre4j.regex.Pattern
Splits the given input around matches of this pattern and returns both the strings and the matching delimiters.
start() - Method in class org.pcre4j.regex.Matcher.MatchResult
 
start() - Method in class org.pcre4j.regex.Matcher
Returns the start index of the most recent match
start(int) - Method in class org.pcre4j.regex.Matcher.MatchResult
 
start(int) - Method in class org.pcre4j.regex.Matcher
Returns the start index of the specified capturing group in the most recent match
start(String) - Method in class org.pcre4j.regex.Matcher.MatchResult
 
start(String) - Method in class org.pcre4j.regex.Matcher
Returns the start index of the specified capturing group in the most recent match

T

toMatchResult() - Method in class org.pcre4j.regex.Matcher
Returns a Matcher.MatchResult with the frozen current state of the matcher will be detached from the matcher
toString() - Method in class org.pcre4j.regex.Matcher
 
toString() - Method in class org.pcre4j.regex.Pattern
 

U

UNICODE_CASE - Static variable in class org.pcre4j.regex.Pattern
A Pattern.UNICODE_CASE-compatible flag that enables Unicode-aware case folding.
UNICODE_CHARACTER_CLASS - Static variable in class org.pcre4j.regex.Pattern
A Pattern.UNICODE_CHARACTER_CLASS-compatible flag implemented via Pcre2CompileOption.UCP
UNIX_LINES - Static variable in class org.pcre4j.regex.Pattern
A Pattern.UNIX_LINES-compatible flag implemented via Pcre2Newline.LF
useAnchoringBounds(boolean) - Method in class org.pcre4j.regex.Matcher
Sets the anchoring of region bounds for this matcher.
usePattern(Pattern) - Method in class org.pcre4j.regex.Matcher
Changes the pattern that this matcher uses to against the input
useTransparentBounds(boolean) - Method in class org.pcre4j.regex.Matcher
Sets the transparency of region bounds for this matcher.
A B C D E F G H L M N O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form