Index
All Classes and Interfaces|All Packages|Serialized Form
A
- allOptions() - Method in class org.pcre4j.Pcre2Code
-
Get the final options after compiling.
- ALLOW_EMPTY_CLASS - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Allow empty classes
- ALLOW_LOOKAROUND_BSK - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Allow \K in lookaround assertions.
- ALLOW_SURROGATE_ESCAPES - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Allow surrogate escapes in UTF-8 mode.
- ALT_BSUX - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Extended alternate handling of \u, \U, and \x.
- ALT_BSUX - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Alternative handling of ⧵u, ⧵U, and ⧵x
- ALT_CIRCUMFLEX - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Alternative handling of ^ in multiline mode
- ALT_VERBNAMES - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Process backslashes in verb names
- ANCHORED - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Force pattern anchoring
- ANCHORED - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Match only at the first position
- ANCHORED - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Match only at the first position
- ANY - Enum constant in enum class org.pcre4j.option.Pcre2Newline
-
Any Unicode newline sequence
- ANYCRLF - Enum constant in enum class org.pcre4j.option.Pcre2Bsr
-
\R corresponds to CR, LF, and CRLF only
- ANYCRLF - Enum constant in enum class org.pcre4j.option.Pcre2Newline
- api() - Method in class org.pcre4j.Pcre2Code
-
Get the PCRE2 API backing this compiled pattern
- api() - Method in class org.pcre4j.Pcre2CompileContext
-
Get the PCRE2 API backing this compile context
- api() - Method in class org.pcre4j.Pcre2ConvertContext
-
Get the PCRE2 API backing this convert context.
- api() - Method in class org.pcre4j.Pcre2GeneralContext
-
Get the PCRE2 API backing this general context
- api() - Method in class org.pcre4j.Pcre2JitStack
-
Get the PCRE2 API backing this JIT stack
- api() - Method in class org.pcre4j.Pcre2MatchContext
-
Get the PCRE2 API backing this match context
- api() - Method in class org.pcre4j.Pcre2MatchData
-
Get the PCRE2 API backing this match data
- api() - Static method in class org.pcre4j.Pcre4j
-
Return the active
IPcre2backend for the current context. - argOptions() - Method in class org.pcre4j.Pcre2Code
-
Get the compile options
- ASCII_BSD - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Use ASCII for \d in Unicode mode.
- ASCII_BSS - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Use ASCII for \s in Unicode mode.
- ASCII_BSW - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Use ASCII for \w in Unicode mode.
- ASCII_DIGIT - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Use ASCII for \d (alias for ASCII_BSD).
- ASCII_POSIX - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Use ASCII for POSIX classes in Unicode mode.
- assignJitStack(Pcre2JitStack) - Method in class org.pcre4j.Pcre2MatchContext
-
Assign a JIT stack to the match context
- AUTO_CALLOUT - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Compile automatic callouts
B
- backRefMax() - Method in class org.pcre4j.Pcre2Code
-
Get the number of highest backreference
- BAD_ESCAPE_IS_LITERAL - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Treat unrecognized escape sequences as literals.
- bsr() - Method in class org.pcre4j.Pcre2Code
-
Get what \R matches:
Pcre2Bsr.UNICODEfor Unicode line endingsPcre2Bsr.ANYCRLFfor CR, LF, or CRLF only
C
- captureCount() - Method in class org.pcre4j.Pcre2Code
-
Get the number of capturing subpatterns
- CASELESS - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Do caseless matching
- CASELESS_RESTRICT - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Restrict caseless matching to same-script characters.
- COMPLETE - Enum constant in enum class org.pcre4j.option.Pcre2JitOption
-
Compile code for full matching
- convert(IPcre2, String, EnumSet<Pcre2ConvertOption>, Pcre2ConvertContext) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a pattern using the specified conversion options.
- convertCharacterIndexToByteOffset(String, int) - Static method in class org.pcre4j.Pcre4jUtils
-
Convert a character index to a byte offset.
- convertOvectorToStringIndices(String, long[]) - Static method in class org.pcre4j.Pcre4jUtils
-
Convert the byte-based ovector offset pairs to string index pairs
- COPY_MATCHED_SUBJECT - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
On success, make a private subject copy
- COPY_MATCHED_SUBJECT - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
On success, make a private subject copy
- copySubstring(int, ByteBuffer) - Method in class org.pcre4j.Pcre2MatchData
-
Copy a captured substring by its group number into a caller-provided buffer.
- copySubstring(String, ByteBuffer) - Method in class org.pcre4j.Pcre2MatchData
-
Copy a captured substring by its group name into a caller-provided buffer.
- count() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Get the number of alternative match lengths found.
- CR - Enum constant in enum class org.pcre4j.option.Pcre2Newline
-
Carriage return only (\r)
- CRLF - Enum constant in enum class org.pcre4j.option.Pcre2Newline
-
CR followed by LF only (\r\n)
D
- depthLimit() - Method in class org.pcre4j.Pcre2Code
-
Get the backtracking depth limit
- deserialize(byte[]) - Static method in class org.pcre4j.Pcre2Code
-
Deserialize patterns from a byte array using the global backend.
- deserialize(IPcre2, byte[]) - Static method in class org.pcre4j.Pcre2Code
-
Deserialize patterns from a byte array previously created by
Pcre2Code.serialize(Pcre2Code...). - dfaMatch(String) - Method in class org.pcre4j.Pcre2Code
-
Match this compiled pattern against a given subject string using the DFA (Deterministic Finite Automaton) matching algorithm.
- dfaMatch(String, int, EnumSet<Pcre2DfaMatchOption>, Pcre2MatchContext, int) - Method in class org.pcre4j.Pcre2Code
-
Match this compiled pattern against a given subject string using the DFA matching algorithm.
- DOLLAR_ENDONLY - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
$ not to match newline at end
- DOTALL - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
.
- DUPNAMES - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Allow duplicate names for subpatterns
E
- ENDANCHORED - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Pattern can match only at end of subject
- ENDANCHORED - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Pattern can match only at end of subject
- ENDANCHORED - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Pattern can match only at end of subject
- ends() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Returns the value of the
endsrecord component. - enumerateCallouts(Pcre2CalloutEnumerateHandler) - Method in class org.pcre4j.Pcre2Code
-
Enumerate all callout points in this compiled pattern.
- equals(Object) - Method in record class org.pcre4j.Pcre2Code.NameTableEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Indicates whether some other object is "equal to" this one.
- errorCode() - Method in exception class org.pcre4j.exception.Pcre2Exception
-
Returns the PCRE2 native error code associated with this exception.
- ESCAPED_CR_IS_LF - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Interpret escaped CR as LF.
- EXTENDED - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Ignore white space and # comments
- EXTENDED - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Enable extended replacement processing
- EXTENDED_MORE - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
- extraOptions() - Method in class org.pcre4j.Pcre2Code
-
Get the extra options that were passed in the compile context.
F
- firstBitmap() - Method in class org.pcre4j.Pcre2Code
-
Get the bitmap of first code units, or
nullif no bitmap is available. - firstCodeType() - Method in class org.pcre4j.Pcre2Code
-
Get the type of start-of-match information.
- firstCodeUnit() - Method in class org.pcre4j.Pcre2Code
-
Get the first code unit of the compiled pattern.
- FIRSTLINE - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Force matching to be before newline
- frameSize() - Method in class org.pcre4j.Pcre2Code
-
Get the size of backtracking frame
- fromGlob(String) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a glob pattern to a PCRE2 regular expression using the default PCRE2 API.
- fromGlob(String, EnumSet<Pcre2ConvertOption>) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a glob pattern to a PCRE2 regular expression using the default PCRE2 API.
- fromGlob(String, EnumSet<Pcre2ConvertOption>, Pcre2ConvertContext) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a glob pattern to a PCRE2 regular expression using the default PCRE2 API.
- fromGlob(IPcre2, String, EnumSet<Pcre2ConvertOption>, Pcre2ConvertContext) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a glob pattern to a PCRE2 regular expression.
- fromPosixBre(String) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a POSIX Basic Regular Expression (BRE) to a PCRE2 pattern using the default PCRE2 API.
- fromPosixBre(IPcre2, String) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a POSIX Basic Regular Expression (BRE) to a PCRE2 pattern.
- fromPosixEre(String) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a POSIX Extended Regular Expression (ERE) to a PCRE2 pattern using the default PCRE2 API.
- fromPosixEre(IPcre2, String) - Static method in class org.pcre4j.Pcre2PatternConverter
-
Convert a POSIX Extended Regular Expression (ERE) to a PCRE2 pattern.
G
- getCompiledWidths(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get which of the character widths the PCRE2 library was compiled with.
- getDefaultBsr(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get what \R matches by default.
- getDefaultDepthLimit(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the default backtracking depth limit.
- getDefaultHeapLimit(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the default heap memory limit.
- getDefaultMatchLimit(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the default match limit.
- getDefaultNewline(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the default newline sequence.
- getDefaultParenthesesNestingLimit(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the default parentheses nesting limit.
- getErrorMessage(IPcre2, int) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the error message for the given error code.
- getGroupNames(Pcre2Code) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the group names for the given code.
- getInternalLinkSize(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the internal link size.
- getJitTarget(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the JIT target.
- getMatchGroups(Pcre2Code, String, long[]) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the match groups
- getMatchGroups(Pcre2Code, String, Pcre2MatchData) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the match groups
- getNamedMatchGroups(Pcre2Code, String, long[]) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the match named groups
- getNamedMatchGroups(Pcre2Code, String, Pcre2MatchData) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the match named groups
- getSubstring(int) - Method in class org.pcre4j.Pcre2MatchData
-
Extract a captured substring by its group number.
- getSubstring(String) - Method in class org.pcre4j.Pcre2MatchData
-
Extract a captured substring by its group name.
- getSubstringLength(int) - Method in class org.pcre4j.Pcre2MatchData
-
Get the length of a captured substring by its group number.
- getSubstringLength(String) - Method in class org.pcre4j.Pcre2MatchData
-
Get the length of a captured substring by its group name.
- getSupportedMatchOptions() - Static method in class org.pcre4j.Pcre2JitCode
-
Get the supported match options for JIT-compiled patterns.
- getUnicodeVersion(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the Unicode version.
- getVersion(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Get the PCRE2 version.
- GLOB - Enum constant in enum class org.pcre4j.option.Pcre2ConvertOption
-
Convert a glob pattern
- GLOB_NO_STARSTAR - Enum constant in enum class org.pcre4j.option.Pcre2ConvertOption
-
Convert a glob pattern with the double-star (
**) feature disabled - GLOB_NO_WILD_SEPARATOR - Enum constant in enum class org.pcre4j.option.Pcre2ConvertOption
-
Convert a glob pattern where wildcards do not match the path separator
- GLOBAL - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Replace all occurrences throughout subject
- group() - Method in record class org.pcre4j.Pcre2Code.NameTableEntry
-
Returns the value of the
grouprecord component. - groupNumberFromName(String) - Method in class org.pcre4j.Pcre2Code
-
Convert a named capturing group to its group number.
H
- handle() - Method in class org.pcre4j.Pcre2Code
-
Get the handle of the compiled pattern
- handle() - Method in class org.pcre4j.Pcre2CompileContext
-
Get the handle of the compile context
- handle() - Method in class org.pcre4j.Pcre2ConvertContext
-
Get the handle of the convert context.
- handle() - Method in class org.pcre4j.Pcre2GeneralContext
-
Get the handle of the general context
- handle() - Method in class org.pcre4j.Pcre2JitStack
-
Get the handle of the JIT stack
- handle() - Method in class org.pcre4j.Pcre2MatchContext
-
Get the handle of the match context
- handle() - Method in class org.pcre4j.Pcre2MatchData
-
Get the handle of the match data
- hasBackslashC() - Method in class org.pcre4j.Pcre2Code
-
Check if the pattern contains \C
- hasCrOrLf() - Method in class org.pcre4j.Pcre2Code
-
Check if explicit CR or LF matches exist in the pattern
- hashCode() - Method in record class org.pcre4j.Pcre2Code.NameTableEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Returns a hash code value for this object.
- heapLimit() - Method in class org.pcre4j.Pcre2Code
-
Get the heap limit
I
- INFO_ALLOPTIONS - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Final options after compiling
- INFO_ARGOPTIONS - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Options passed to
IPcre2.compile(java.lang.String, int, int[], long[], long) - INFO_BACKREFMAX - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Number of highest backreference
- INFO_BSR - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
What \R matches: PCRE2_BSR_UNICODE: Unicode line endings PCRE2_BSR_ANYCRLF: CR, LF, or CRLF only
- INFO_CAPTURECOUNT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Number of capturing subpatterns
- INFO_DEPTHLIMIT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Backtracking depth limit if set, otherwise
IPcre2.ERROR_UNSET - INFO_EXTRAOPTIONS - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Extra options that were passed in the compile context
- INFO_FIRSTBITMAP - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Bitmap of first code units, or 0
- INFO_FIRSTCODETYPE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Type of start-of-match information 0 nothing set 1 first code unit is set 2 start of string or after newline
- INFO_FIRSTCODEUNIT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
First code unit when type is 1
- INFO_FRAMESIZE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Size of backtracking frame
- INFO_HASBACKSLASHC - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Return 1 if pattern contains \C
- INFO_HASCRORLF - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Return 1 if explicit CR or LF matches exist in the pattern
- INFO_HEAPLIMIT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Heap memory limit if set, otherwise
IPcre2.ERROR_UNSET - INFO_JCHANGED - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Return 1 if (?J) or (?-J) was used
- INFO_JITSIZE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Size of JIT compiled code, or 0
- INFO_LASTCODETYPE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Type of must-be-present information 0 nothing set 1 code unit is set
- INFO_LASTCODEUNIT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Last code unit when type is 1
- INFO_MATCHEMPTY - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
1 if the pattern can match an empty string, 0 otherwise
- INFO_MATCHLIMIT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Match limit if set, otherwise
IPcre2.ERROR_UNSET - INFO_MAXLOOKBEHIND - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Length (in characters) of the longest lookbehind assertion
- INFO_MINLENGTH - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Lower bound length of matching strings
- INFO_NAMECOUNT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Number of named subpatterns
- INFO_NAMEENTRYSIZE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Size of name table entries
- INFO_NAMETABLE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Pointer to name table
- INFO_NEWLINE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Code for the newline sequence:
IPcre2.NEWLINE_CRIPcre2.NEWLINE_LFIPcre2.NEWLINE_CRLFIPcre2.NEWLINE_ANYIPcre2.NEWLINE_ANYCRLFIPcre2.NEWLINE_NUL - INFO_RECURSIONLIMIT - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Deprecated.
- INFO_SIZE - Enum constant in enum class org.pcre4j.option.Pcre2PatternInfo
-
Size of compiled pattern
- Initialization - Search tag in class org.pcre4j.Pcre4j
- Section
- INVALID_UTF - Enum constant in enum class org.pcre4j.option.Pcre2JitOption
-
Deprecated.
- isBackslashCDisabled(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Check if the \C is disabled.
- isJitSupported(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Check if JIT is supported.
- isPartial() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Returns the value of the
isPartialrecord component. - isUnicodeSupported(IPcre2) - Static method in class org.pcre4j.Pcre4jUtils
-
Check if Unicode is supported.
- isVersionAtLeast(IPcre2, int, int) - Static method in class org.pcre4j.Pcre4jUtils
-
Check if the PCRE2 version is at least the specified version.
J
- jChanged() - Method in class org.pcre4j.Pcre2Code
-
Check if the pattern uses (?J) or (?-J)
- jitSize() - Method in class org.pcre4j.Pcre2Code
-
Get the size of JIT compiled code, or 0
L
- lastCodeType() - Method in class org.pcre4j.Pcre2Code
-
Get the type of must-be-present information for the last code unit.
- lastCodeUnit() - Method in class org.pcre4j.Pcre2Code
-
Get the last code unit of the compiled pattern.
- LF - Enum constant in enum class org.pcre4j.option.Pcre2Newline
-
Linefeed only (\n)
- LITERAL - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Pattern characters are all literal
- LITERAL - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Treat replacement as literal text
- longestEnd() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Get the end index of the longest match (exclusive character offset).
- longestMatch() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Get the longest matched substring.
M
- match(int) - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Get the matched substring for the given match index.
- match(String, int, EnumSet<Pcre2MatchOption>, Pcre2MatchData, Pcre2MatchContext) - Method in class org.pcre4j.Pcre2Code
-
Match this compiled pattern against a given subject string.
- match(String, int, EnumSet<Pcre2MatchOption>, Pcre2MatchData, Pcre2MatchContext) - Method in class org.pcre4j.Pcre2JitCode
- MATCH_INVALID_UTF - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Enable support for matching invalid UTF
- MATCH_LINE - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Pattern matches whole lines.
- MATCH_UNSET_BACKREF - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Match unset backreferences
- MATCH_WORD - Enum constant in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Pattern matches whole words.
- MATCHED - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Use pre-existing match data for initial match
- matchEmpty() - Method in class org.pcre4j.Pcre2Code
-
Check if the pattern can match an empty string
- matchLimit() - Method in class org.pcre4j.Pcre2Code
-
Get the match limit
- maxLookBehind() - Method in class org.pcre4j.Pcre2Code
-
Get the length (in characters) of the longest lookbehind assertion
- message() - Method in exception class org.pcre4j.exception.Pcre2CompileException
-
Get the error message.
- minLength() - Method in class org.pcre4j.Pcre2Code
-
Get the lower bound length of matching strings
- Multi-Classloader Environments - Search tag in class org.pcre4j.Pcre4j
- Section
- MULTILINE - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
^ and $ match newlines within data
N
- name() - Method in record class org.pcre4j.Pcre2Code.NameTableEntry
-
Returns the value of the
namerecord component. - nameCount() - Method in class org.pcre4j.Pcre2Code
-
Get the number of named subpatterns
- nameEntrySize() - Method in class org.pcre4j.Pcre2Code
-
Get the size of name table entries
- nameTable() - Method in class org.pcre4j.Pcre2Code
-
Get the name table
- NameTableEntry(int, String) - Constructor for record class org.pcre4j.Pcre2Code.NameTableEntry
-
Creates an instance of a
NameTableEntryrecord class. - NEVER_BACKSLASH_C - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Lock out the use of \C in patterns
- NEVER_UCP - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Lock out PCRE2_UCP, e.g.
- NEVER_UTF - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Lock out PCRE2_UTF, e.g.
- newline() - Method in class org.pcre4j.Pcre2Code
-
Get the newline sequence
- NO_AUTO_CAPTURE - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Disable numbered capturing parentheses (named ones available)
- NO_AUTO_POSSESS - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Disable auto-possessification
- NO_DOTSTAR_ANCHOR - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Disable automatic anchoring for .*
- NO_JIT - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Do not use JIT matching
- NO_START_OPTIMIZE - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Disable match-time start optimizations
- NO_UTF_CHECK - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Do not check the pattern for UTF validity (only relevant if UTF is set)
- NO_UTF_CHECK - Enum constant in enum class org.pcre4j.option.Pcre2ConvertOption
-
Skip UTF validity check on the input pattern
- NO_UTF_CHECK - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Do not check the subject for UTF validity (only relevant if PCRE2_UTF was set at compile time)
- NO_UTF_CHECK - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Do not check the subject for UTF validity (only relevant if PCRE2_UTF was set at compile time)
- NOTBOL - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Subject string is not the beginning of a line
- NOTBOL - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Subject string is not the beginning of a line
- NOTEMPTY - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
An empty string is not a valid match
- NOTEMPTY - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
An empty string is not a valid match
- NOTEMPTY_ATSTART - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
An empty string at the start of the subject is not a valid match
- NOTEMPTY_ATSTART - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
An empty string at the start of the subject is not a valid match
- NOTEOL - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Subject string is not the end of a line
- NOTEOL - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Subject string is not the end of a line
- NUL - Enum constant in enum class org.pcre4j.option.Pcre2Newline
-
NUL character (\0)
O
- offset() - Method in exception class org.pcre4j.exception.Pcre2CompileException
-
Get the offset of the error in the pattern.
- org.pcre4j - module org.pcre4j
-
PCRE4J Library — mid-level wrapper around the PCRE2 API providing compiled patterns, match data, contexts, and utility classes.
- org.pcre4j - package org.pcre4j
- org.pcre4j.exception - package org.pcre4j.exception
- org.pcre4j.option - package org.pcre4j.option
- ovector() - Method in class org.pcre4j.Pcre2MatchData
-
Get the output vector composed of offset pairs, each offset pair represents the start and end of the match.
- ovectorCount() - Method in class org.pcre4j.Pcre2MatchData
-
Get number of the offset pairs in the output vector
- OVERFLOW_LENGTH - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Calculate needed length on buffer overflow
P
- PARTIAL_HARD - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Return
IPcre2.ERROR_PARTIALfor a partial match even if there is a full match - PARTIAL_HARD - Enum constant in enum class org.pcre4j.option.Pcre2JitOption
-
Compile code for hard partial matching
- PARTIAL_HARD - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Return
IPcre2.ERROR_PARTIALfor a partial match even if there is a full match - PARTIAL_SOFT - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Return
IPcre2.ERROR_PARTIALfor a partial match if no full matches are found - PARTIAL_SOFT - Enum constant in enum class org.pcre4j.option.Pcre2JitOption
-
Compile code for soft partial matching
- PARTIAL_SOFT - Enum constant in enum class org.pcre4j.option.Pcre2MatchOption
-
Return
IPcre2.ERROR_PARTIALfor a partial match if no full matches are found - pattern() - Method in exception class org.pcre4j.exception.Pcre2CompileException
-
Get the pattern that caused the error.
- pattern() - Method in exception class org.pcre4j.exception.Pcre2ConvertException
-
Get the pattern that caused the error.
- Pcre2Bsr - Enum Class in org.pcre4j.option
-
The \R processing option.
- Pcre2Code - Class in org.pcre4j
-
A compiled pattern.
- Pcre2Code(String) - Constructor for class org.pcre4j.Pcre2Code
-
Create a compiled pattern from a pattern string
- Pcre2Code(String, EnumSet<Pcre2CompileOption>) - Constructor for class org.pcre4j.Pcre2Code
-
Create a compiled pattern from a pattern string
- Pcre2Code(String, EnumSet<Pcre2CompileOption>, Pcre2CompileContext) - Constructor for class org.pcre4j.Pcre2Code
-
Create a compiled pattern from a pattern string
- Pcre2Code(IPcre2, String) - Constructor for class org.pcre4j.Pcre2Code
-
Create a compiled pattern from a pattern string
- Pcre2Code(IPcre2, String, EnumSet<Pcre2CompileOption>) - Constructor for class org.pcre4j.Pcre2Code
-
Create a compiled pattern from a pattern string
- Pcre2Code(IPcre2, String, EnumSet<Pcre2CompileOption>, Pcre2CompileContext) - Constructor for class org.pcre4j.Pcre2Code
-
Create a compiled pattern from a pattern string
- Pcre2Code.NameTableEntry - Record Class in org.pcre4j
-
A name table entry
- Pcre2CompileContext - Class in org.pcre4j
-
A compile context for controlling pattern compilation settings.
- Pcre2CompileContext(IPcre2, Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2CompileContext
-
Create a new compile context
- Pcre2CompileContext(Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2CompileContext
-
Create a new compile context
- Pcre2CompileError - Exception Class in org.pcre4j.exception
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2CompileExceptioninstead. This class will be removed in a future release. - Pcre2CompileError(String, long, String) - Constructor for exception class org.pcre4j.exception.Pcre2CompileError
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2CompileException(String, long, String, int)instead. - Pcre2CompileError(String, long, String, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2CompileError
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Pcre2CompileException - Exception Class in org.pcre4j.exception
-
An exception that occurs when a pattern fails to compile.
- Pcre2CompileException(String, long, String, int) - Constructor for exception class org.pcre4j.exception.Pcre2CompileException
-
Create a new pattern compilation exception.
- Pcre2CompileException(String, long, String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2CompileException
-
Create a new pattern compilation exception.
- Pcre2CompileExtraOption - Enum Class in org.pcre4j.option
-
Extra compile options for PCRE2 patterns.
- Pcre2CompileOption - Enum Class in org.pcre4j.option
-
Compile options for
Pcre2Code - Pcre2ConvertContext - Class in org.pcre4j
-
A convert context for controlling pattern conversion settings.
- Pcre2ConvertContext(IPcre2, Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2ConvertContext
-
Create a new convert context.
- Pcre2ConvertContext(Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2ConvertContext
-
Create a new convert context using the default PCRE2 API.
- Pcre2ConvertException - Exception Class in org.pcre4j.exception
-
An exception that occurs when a pattern conversion fails.
- Pcre2ConvertException(String, String, int) - Constructor for exception class org.pcre4j.exception.Pcre2ConvertException
-
Create a new pattern conversion exception.
- Pcre2ConvertException(String, String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2ConvertException
-
Create a new pattern conversion exception.
- Pcre2ConvertOption - Enum Class in org.pcre4j.option
-
Options for pattern conversion via
Pcre2PatternConverter. - Pcre2DfaMatchOption - Enum Class in org.pcre4j.option
-
Match options for
Pcre2Code.dfaMatch(java.lang.String). - Pcre2DfaMatchResult - Record Class in org.pcre4j
-
Result of a DFA (Deterministic Finite Automaton) match.
- Pcre2DfaMatchResult(String, int, int[], boolean) - Constructor for record class org.pcre4j.Pcre2DfaMatchResult
-
Creates an instance of a
Pcre2DfaMatchResultrecord class. - Pcre2Exception - Exception Class in org.pcre4j.exception
-
Base exception for all PCRE4J-specific errors.
- Pcre2Exception(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2Exception
-
Creates a new
Pcre2Exceptionwith the given message and error code. - Pcre2Exception(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2Exception
-
Creates a new
Pcre2Exceptionwith the given message, error code, and cause. - Pcre2GeneralContext - Class in org.pcre4j
-
A general context for custom memory management functions.
- Pcre2GeneralContext() - Constructor for class org.pcre4j.Pcre2GeneralContext
-
Create a new general context using system default memory management functions
- Pcre2GeneralContext(IPcre2) - Constructor for class org.pcre4j.Pcre2GeneralContext
-
Create a new general context using system default memory management functions
- Pcre2InternalException - Exception Class in org.pcre4j.exception
-
An exception indicating an unexpected internal error in PCRE4J.
- Pcre2InternalException(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2InternalException
-
Creates a new internal exception.
- Pcre2InternalException(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2InternalException
-
Creates a new internal exception.
- Pcre2JitCode - Class in org.pcre4j
-
A JIT-compiled pattern.
- Pcre2JitCode(String, EnumSet<Pcre2CompileOption>, EnumSet<Pcre2JitOption>, Pcre2CompileContext) - Constructor for class org.pcre4j.Pcre2JitCode
-
Constructor for Pcre2JitCode
- Pcre2JitCode(IPcre2, String, EnumSet<Pcre2CompileOption>, EnumSet<Pcre2JitOption>, Pcre2CompileContext) - Constructor for class org.pcre4j.Pcre2JitCode
-
Constructor for Pcre2JitCode
- Pcre2JitOption - Enum Class in org.pcre4j.option
-
JIT compilation options for
Pcre2JitCode - Pcre2JitStack - Class in org.pcre4j
-
A custom stack for JIT-compiled pattern matching.
- Pcre2JitStack(long, long, Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2JitStack
-
Create a new JIT stack
- Pcre2JitStack(IPcre2, long, long, Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2JitStack
-
Create a new JIT stack
- Pcre2MatchContext - Class in org.pcre4j
-
A match context for controlling pattern matching settings.
- Pcre2MatchContext(IPcre2, Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2MatchContext
-
Create a new match context
- Pcre2MatchContext(Pcre2GeneralContext) - Constructor for class org.pcre4j.Pcre2MatchContext
-
Create a new match context
- Pcre2MatchData - Class in org.pcre4j
-
The match data where the results of the match are stored
- Pcre2MatchData(int) - Constructor for class org.pcre4j.Pcre2MatchData
-
Create a new match data object
- Pcre2MatchData(IPcre2, int) - Constructor for class org.pcre4j.Pcre2MatchData
-
Create a new match data object
- Pcre2MatchData(Pcre2Code) - Constructor for class org.pcre4j.Pcre2MatchData
-
Create a new match data object
- Pcre2MatchException - Exception Class in org.pcre4j.exception
-
An exception that occurs during a match operation.
- Pcre2MatchException(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2MatchException
-
Creates a new match exception.
- Pcre2MatchException(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2MatchException
-
Creates a new match exception.
- Pcre2MatchLimitException - Exception Class in org.pcre4j.exception
-
An exception thrown when a match operation exceeds a configured resource limit.
- Pcre2MatchLimitException(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2MatchLimitException
-
Creates a new match limit exception.
- Pcre2MatchLimitException(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2MatchLimitException
-
Creates a new match limit exception.
- Pcre2MatchOption - Enum Class in org.pcre4j.option
- Pcre2Newline - Enum Class in org.pcre4j.option
-
The newline convention.
- Pcre2NoSubstringError - Exception Class in org.pcre4j.exception
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2NoSubstringExceptioninstead. This class will be removed in a future release. - Pcre2NoSubstringError(String) - Constructor for exception class org.pcre4j.exception.Pcre2NoSubstringError
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2NoSubstringException(String, int)instead. - Pcre2NoSubstringError(String, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2NoSubstringError
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2NoSubstringException(String, int, Throwable)instead. - Pcre2NoSubstringException - Exception Class in org.pcre4j.exception
-
An exception indicating that a named substring does not exist.
- Pcre2NoSubstringException(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2NoSubstringException
-
Creates a new no substring exception.
- Pcre2NoSubstringException(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2NoSubstringException
-
Creates a new no substring exception.
- Pcre2NoUniqueSubstringError - Exception Class in org.pcre4j.exception
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2NoUniqueSubstringExceptioninstead. This class will be removed in a future release. - Pcre2NoUniqueSubstringError(String) - Constructor for exception class org.pcre4j.exception.Pcre2NoUniqueSubstringError
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2NoUniqueSubstringException(String, int)instead. - Pcre2NoUniqueSubstringError(String, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2NoUniqueSubstringError
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Pcre2NoUniqueSubstringException - Exception Class in org.pcre4j.exception
-
An exception indicating that a named substring is not unique (duplicate names exist when using the
(?J)option). - Pcre2NoUniqueSubstringException(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2NoUniqueSubstringException
-
Creates a new no unique substring exception.
- Pcre2NoUniqueSubstringException(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2NoUniqueSubstringException
-
Creates a new no unique substring exception.
- Pcre2PatternConverter - Class in org.pcre4j
-
Utility class for converting glob patterns and POSIX regular expressions into PCRE2-compatible patterns.
- Pcre2PatternInfo - Enum Class in org.pcre4j.option
-
Pattern information codes for
Pcre2Codeintrospection. - Pcre2PatternInfoSizeError - Exception Class in org.pcre4j.exception
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2PatternInfoSizeExceptioninstead. This class will be removed in a future release. - Pcre2PatternInfoSizeError(Pcre2PatternInfo, long) - Constructor for exception class org.pcre4j.exception.Pcre2PatternInfoSizeError
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Pcre2PatternInfoSizeError(Pcre2PatternInfo, long, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2PatternInfoSizeError
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Pcre2PatternInfoSizeException - Exception Class in org.pcre4j.exception
-
An exception indicating an unexpected data size for a
Pcre2PatternInfoquery. - Pcre2PatternInfoSizeException(Pcre2PatternInfo, long) - Constructor for exception class org.pcre4j.exception.Pcre2PatternInfoSizeException
-
Creates a new pattern info size exception.
- Pcre2PatternInfoSizeException(Pcre2PatternInfo, long, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2PatternInfoSizeException
-
Creates a new pattern info size exception.
- Pcre2SubstituteError - Exception Class in org.pcre4j.exception
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2SubstituteExceptioninstead. This class will be removed in a future release. - Pcre2SubstituteError(String) - Constructor for exception class org.pcre4j.exception.Pcre2SubstituteError
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2SubstituteException(String, int)instead. - Pcre2SubstituteError(String, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2SubstituteError
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Pcre2SubstituteException(String, int, Throwable)instead. - Pcre2SubstituteException - Exception Class in org.pcre4j.exception
-
An exception that occurs during a substitute operation.
- Pcre2SubstituteException(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2SubstituteException
-
Creates a new substitute exception.
- Pcre2SubstituteException(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2SubstituteException
-
Creates a new substitute exception.
- Pcre2SubstituteOption - Enum Class in org.pcre4j.option
- Pcre2SubstringException - Exception Class in org.pcre4j.exception
-
An exception related to substring or capture group operations.
- Pcre2SubstringException(String, int) - Constructor for exception class org.pcre4j.exception.Pcre2SubstringException
-
Creates a new substring exception.
- Pcre2SubstringException(String, int, Throwable) - Constructor for exception class org.pcre4j.exception.Pcre2SubstringException
-
Creates a new substring exception.
- Pcre4j - Class in org.pcre4j
-
Backend holder that provides three tiers of backend resolution for the PCRE4J library.
- Pcre4jUtils - Class in org.pcre4j
-
Static utility methods for PCRE2 configuration queries, error message retrieval, and match result processing.
- POSIX_BASIC - Enum constant in enum class org.pcre4j.option.Pcre2ConvertOption
-
Convert a POSIX basic regular expression
- POSIX_EXTENDED - Enum constant in enum class org.pcre4j.option.Pcre2ConvertOption
-
Convert a POSIX extended regular expression
R
- REPLACEMENT_ONLY - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Return only replacement string(s)
- RESTART - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Restart DFA matching after a partial match.
S
- scanNametable(String) - Method in class org.pcre4j.Pcre2Code
-
Scan the name table for all group numbers associated with a given capture group name.
- Scoped Backend - Search tag in class org.pcre4j.Pcre4j
- Section
- serialize(Pcre2Code...) - Static method in class org.pcre4j.Pcre2Code
-
Serialize one or more compiled patterns into a portable byte array.
- setBsr(Pcre2Bsr) - Method in class org.pcre4j.Pcre2CompileContext
-
Set the BSR (backslash-R) convention
- setCallout(Pcre2CalloutHandler) - Method in class org.pcre4j.Pcre2MatchContext
-
Set a callout handler for match operations using this context.
- setCompileExtraOptions(EnumSet<Pcre2CompileExtraOption>) - Method in class org.pcre4j.Pcre2CompileContext
-
Set the extra compile options.
- setDepthLimit(int) - Method in class org.pcre4j.Pcre2MatchContext
-
Set the backtracking depth limit for this match context.
- setGlobEscape(int) - Method in class org.pcre4j.Pcre2ConvertContext
-
Set the escape character for glob pattern conversion.
- setGlobSeparator(int) - Method in class org.pcre4j.Pcre2ConvertContext
-
Set the path separator character for glob pattern conversion.
- setHeapLimit(int) - Method in class org.pcre4j.Pcre2MatchContext
-
Set the heap memory limit for this match context.
- setMatchLimit(int) - Method in class org.pcre4j.Pcre2MatchContext
-
Set the match limit for this match context.
- setMaxPatternLength(long) - Method in class org.pcre4j.Pcre2CompileContext
-
Set the maximum pattern length.
- setNewline(Pcre2Newline) - Method in class org.pcre4j.Pcre2CompileContext
-
Set the newline convention
- setOffsetLimit(long) - Method in class org.pcre4j.Pcre2MatchContext
-
Set the offset limit for this match context.
- setParensNestLimit(int) - Method in class org.pcre4j.Pcre2CompileContext
-
Set the parentheses nesting limit.
- setup(IPcre2) - Static method in class org.pcre4j.Pcre4j
-
Set up the PCRE4J library by installing the given backend as the global default.
- SHORTEST - Enum constant in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Return only the shortest match.
- shortestEnd() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Get the end index of the shortest match (exclusive character offset).
- shortestMatch() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Get the shortest matched substring.
- size() - Method in class org.pcre4j.Pcre2Code
-
Get the size of the compiled pattern
- size() - Method in class org.pcre4j.Pcre2MatchData
-
Get the size of this match data block in bytes.
- start() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Returns the value of the
startrecord component. - subject() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Returns the value of the
subjectrecord component. - substitute(String, int, EnumSet<Pcre2SubstituteOption>, Pcre2MatchData, Pcre2MatchContext, String) - Method in class org.pcre4j.Pcre2Code
-
Substitute matches of this compiled pattern in the given subject string.
T
- Thread Safety - Search tag in class org.pcre4j.Pcre4j
- Section
- toString() - Method in record class org.pcre4j.Pcre2Code.NameTableEntry
-
Returns a string representation of this record class.
- toString() - Method in record class org.pcre4j.Pcre2DfaMatchResult
-
Returns a string representation of this record class.
U
- UCP - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Use Unicode properties for \d, \w, etc.
- UNGREEDY - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Invert greediness of quantifiers
- UNICODE - Enum constant in enum class org.pcre4j.option.Pcre2Bsr
-
\R corresponds to the Unicode line endings
- UNKNOWN_UNSET - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Handle undefined groups as unset
- UNSET_EMPTY - Enum constant in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Insert empty string for unset groups
- USE_OFFSET_LIMIT - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Enable offset limit for unanchored matching
- UTF - Enum constant in enum class org.pcre4j.option.Pcre2CompileOption
-
Treat pattern and subjects as UTF strings
- UTF - Enum constant in enum class org.pcre4j.option.Pcre2ConvertOption
-
Treat the input pattern as a UTF string
V
- value() - Method in enum class org.pcre4j.option.Pcre2Bsr
-
Get the integer value.
- value() - Method in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Get the option value of the enum value.
- value() - Method in enum class org.pcre4j.option.Pcre2CompileOption
-
Get the option value of the enum value.
- value() - Method in enum class org.pcre4j.option.Pcre2ConvertOption
-
Get the option value of the enum value.
- value() - Method in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Get the option value of the enum value.
- value() - Method in enum class org.pcre4j.option.Pcre2JitOption
-
Get the option value of the enum value.
- value() - Method in enum class org.pcre4j.option.Pcre2MatchOption
-
Get the option value of the enum value.
- value() - Method in enum class org.pcre4j.option.Pcre2Newline
-
Get the integer value.
- value() - Method in enum class org.pcre4j.option.Pcre2PatternInfo
-
Get the integer value.
- value() - Method in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Get the option value of the enum value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2Bsr
-
Get the enum entry by its integer value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Get the enum value by its option value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2CompileOption
-
Get the enum value by its option value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2ConvertOption
-
Get the enum value by its option value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Get the enum value by its option value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2JitOption
-
Get the enum value by its option value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2MatchOption
-
Get the enum value by its option value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2Newline
-
Get the enum entry by its integer value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2PatternInfo
-
Get the enum entry by its integer value.
- valueOf(int) - Static method in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Get the enum value by its option value.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2Bsr
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2CompileOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2ConvertOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2JitOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2MatchOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2Newline
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2PatternInfo
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.pcre4j.option.Pcre2Bsr
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2CompileExtraOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2CompileOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2ConvertOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2DfaMatchOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2JitOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2MatchOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2Newline
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2PatternInfo
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pcre4j.option.Pcre2SubstituteOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withBackend(IPcre2) - Static method in class org.pcre4j.Pcre4j
-
Set a thread-scoped backend override that takes precedence over the global backend.
All Classes and Interfaces|All Packages|Serialized Form
Pcre2CompileOption.MATCH_INVALID_UTF