Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ALLOW_EMPTY_CLASS - Static variable in interface org.pcre4j.api.IPcre2
-
Allow empty classes
- ALT_BSUX - Static variable in interface org.pcre4j.api.IPcre2
-
Alternative handling of ⧵u, ⧵U, and ⧵x
- ALT_CIRCUMFLEX - Static variable in interface org.pcre4j.api.IPcre2
-
Alternative handling of ^ in multiline mode
- ALT_VERBNAMES - Static variable in interface org.pcre4j.api.IPcre2
-
Process backslashes in verb names
- ANCHORED - Static variable in interface org.pcre4j.api.IPcre2
-
Force pattern anchoring
- AUTO_CALLOUT - Static variable in interface org.pcre4j.api.IPcre2
-
Compile automatic callouts
B
- BSR_ANYCRLF - Static variable in interface org.pcre4j.api.IPcre2
-
\R corresponds to CR, LF, and CRLF only
- BSR_UNICODE - Static variable in interface org.pcre4j.api.IPcre2
-
\R corresponds to the Unicode line endings
C
- calloutEnumerate(long, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Enumerate callouts in a compiled pattern.
- calloutFlags() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
calloutFlagsrecord component. - calloutNumber() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
calloutNumberrecord component. - calloutNumber() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns the value of the
calloutNumberrecord component. - calloutString() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
calloutStringrecord component. - calloutString() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns the value of the
calloutStringrecord component. - calloutStringLength() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
calloutStringLengthrecord component. - calloutStringLength() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns the value of the
calloutStringLengthrecord component. - calloutStringOffset() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
calloutStringOffsetrecord component. - calloutStringOffset() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns the value of the
calloutStringOffsetrecord component. - captureLast() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
captureLastrecord component. - captureTop() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
captureToprecord component. - CASELESS - Static variable in interface org.pcre4j.api.IPcre2
-
Do caseless matching
- charset() - Method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Get the charset for string encoding/decoding.
- codeCopy(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a copy of a compiled pattern.
- codeCopyWithTables(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a copy of a compiled pattern and its character tables.
- codeFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a compiled pattern resources.
- codeUnitSize() - Method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Get the code unit size in bytes.
- compile(String, int, int[], long[], long) - Method in interface org.pcre4j.api.IPcre2
-
Compile a regular expression pattern.
- compileContextCopy(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a copy of a compile context.
- compileContextCreate(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a new compile context.
- compileContextFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a compile context.
- config(int) - Method in interface org.pcre4j.api.IPcre2
-
Get the amount of memory needed to store the information referred to by
whatabout the optional features of the PCRE2 library. - config(int, int[]) - Method in interface org.pcre4j.api.IPcre2
-
Get the information referred to by
whatabout the optional features of the PCRE2 library. - config(int, ByteBuffer) - Method in interface org.pcre4j.api.IPcre2
-
Get the information referred to by
whatabout the optional features of the PCRE2 library. - CONFIG_BSR - Static variable in interface org.pcre4j.api.IPcre2
-
Query the default backslash-R (⧵R) convention
- CONFIG_COMPILED_WIDTHS - Static variable in interface org.pcre4j.api.IPcre2
-
Query a bitmask of compiled code unit widths (8-bit, 16-bit, 32-bit)
- CONFIG_DEPTHLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Query the default backtracking depth limit
- CONFIG_HEAPLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Query the default heap memory limit in kibibytes
- CONFIG_JIT - Static variable in interface org.pcre4j.api.IPcre2
-
Query JIT compilation availability (1 = available, 0 = not available)
- CONFIG_JITTARGET - Static variable in interface org.pcre4j.api.IPcre2
-
Query the target architecture string for the JIT compiler
- CONFIG_LINKSIZE - Static variable in interface org.pcre4j.api.IPcre2
-
Query the number of bytes used for internal linkage in compiled patterns
- CONFIG_MATCHLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Query the default match limit
- CONFIG_NEVER_BACKSLASH_C - Static variable in interface org.pcre4j.api.IPcre2
-
Query whether ⧵C is permanently disabled (1 = disabled, 0 = enabled)
- CONFIG_NEWLINE - Static variable in interface org.pcre4j.api.IPcre2
-
Query the default newline convention
- CONFIG_PARENSLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Query the default parentheses nesting limit
- CONFIG_RECURSIONLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Deprecated.
- CONFIG_STACKRECURSE - Static variable in interface org.pcre4j.api.IPcre2
-
Deprecated.Obsolete, always returns 0
- CONFIG_TABLES_LENGTH - Static variable in interface org.pcre4j.api.IPcre2
-
Query the length of PCRE2's character processing tables in bytes
- CONFIG_UNICODE - Static variable in interface org.pcre4j.api.IPcre2
-
Query Unicode support availability (1 = available, 0 = not available)
- CONFIG_UNICODE_VERSION - Static variable in interface org.pcre4j.api.IPcre2
-
Query the Unicode version string
- CONFIG_VERSION - Static variable in interface org.pcre4j.api.IPcre2
-
Query the PCRE2 version string
- CONVERT_GLOB - Static variable in interface org.pcre4j.api.IPcre2
-
Convert a glob pattern (wildcards do not match separator)
- CONVERT_GLOB_NO_STARSTAR - Static variable in interface org.pcre4j.api.IPcre2
-
Convert a glob pattern (double-star feature disabled)
- CONVERT_GLOB_NO_WILD_SEPARATOR - Static variable in interface org.pcre4j.api.IPcre2
-
Convert a glob pattern (wildcards may match separator)
- CONVERT_NO_UTF_CHECK - Static variable in interface org.pcre4j.api.IPcre2
-
Skip UTF validity check on the input pattern for pattern conversion
- CONVERT_POSIX_BASIC - Static variable in interface org.pcre4j.api.IPcre2
-
Convert a POSIX basic regular expression
- CONVERT_POSIX_EXTENDED - Static variable in interface org.pcre4j.api.IPcre2
-
Convert a POSIX extended regular expression
- CONVERT_UTF - Static variable in interface org.pcre4j.api.IPcre2
-
Treat the input pattern as a UTF string for pattern conversion
- convertContextCopy(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a copy of a convert context.
- convertContextCreate(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a new convert context.
- convertContextFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a convert context.
- convertedPatternFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free memory allocated by
IPcre2.patternConvert(String, int, long[], long[], long). - COPY_MATCHED_SUBJECT - Static variable in interface org.pcre4j.api.IPcre2
-
On success, make a private subject copy
- createCalloutCallback(Pcre2CalloutHandler) - Method in interface org.pcre4j.api.IPcre2
-
Create a native callback function pointer for a callout handler.
- createCalloutEnumerateCallback(Pcre2CalloutEnumerateHandler) - Method in interface org.pcre4j.api.IPcre2
-
Create a native callback function pointer for a callout enumeration handler.
- currentPosition() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
currentPositionrecord component.
D
- DFA_RESTART - Static variable in interface org.pcre4j.api.IPcre2
-
Restart DFA matching after a partial match
- DFA_SHORTEST - Static variable in interface org.pcre4j.api.IPcre2
-
Return only the shortest match in DFA matching
- dfaMatch(long, String, int, int, long, long, int[], int) - Method in interface org.pcre4j.api.IPcre2
-
Match a compiled pattern against a subject string using the alternative DFA matching algorithm.
- DISABLE_RECURSELOOP_CHECK - Static variable in interface org.pcre4j.api.IPcre2
-
Disable the recursion loop check during matching
- discover(String) - Static method in class org.pcre4j.api.Pcre2LibraryFinder
-
Discover the PCRE2 native library by its library name.
- discover(Pcre2UtfWidth) - Static method in class org.pcre4j.api.Pcre2LibraryFinder
-
Discover the PCRE2 native library for the given UTF width.
- DISCOVERY_PROPERTY - Static variable in class org.pcre4j.api.Pcre2LibraryFinder
-
System property to disable automatic library discovery.
- DOLLAR_ENDONLY - Static variable in interface org.pcre4j.api.IPcre2
-
$ not to match newline at end
- DOTALL - Static variable in interface org.pcre4j.api.IPcre2
-
.
- DUPNAMES - Static variable in interface org.pcre4j.api.IPcre2
-
Allow duplicate names for subpatterns
E
- ENDANCHORED - Static variable in interface org.pcre4j.api.IPcre2
-
Pattern can match only at end of subject
- equals(Object) - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Indicates whether some other object is "equal to" this one.
- ERROR_ALPHA_ASSERTION_UNKNOWN - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: (*alpha_assertion) not recognized
- ERROR_BACKSLASH_C_CALLER_DISABLED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: using ⧵C is disabled by the application
- ERROR_BACKSLASH_C_LIBRARY_DISABLED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: using ⧵C is disabled in this PCRE2 library
- ERROR_BACKSLASH_C_SYNTAX - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵c must be followed by a printable ASCII character
- ERROR_BACKSLASH_G_SYNTAX - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵g is not followed by a braced, angle-bracketed, or quoted name/number
- ERROR_BACKSLASH_K_IN_LOOKAROUND - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵K is not allowed in lookarounds
- ERROR_BACKSLASH_K_SYNTAX - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵k is not followed by a braced, angle-bracketed, or quoted name
- ERROR_BACKSLASH_N_IN_CLASS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵N is not supported in a class
- ERROR_BACKSLASH_O_MISSING_BRACE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: missing opening brace after ⧵o
- ERROR_BACKSLASH_U_CODE_POINT_TOO_BIG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: character code point value in ⧵u....
- ERROR_BAD_LITERAL_OPTIONS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: invalid option bits with PCRE2_LITERAL
- ERROR_BAD_OPTIONS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unrecognised compile-time option bit(s)
- ERROR_BAD_RELATIVE_REFERENCE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: digit expected after (?+
- ERROR_BAD_SUBPATTERN_REFERENCE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: reference to non-existent subpattern
- ERROR_BADDATA - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad data value
- ERROR_BADMAGIC - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: magic number missing (pattern may be corrupt)
- ERROR_BADMODE - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: pattern compiled in wrong mode (8/16/32-bit error)
- ERROR_BADOFFSET - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad offset value
- ERROR_BADOFFSETLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: offset limit set without
IPcre2.USE_OFFSET_LIMIT - ERROR_BADOPTION - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad option value
- ERROR_BADREPESCAPE - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad escape sequence in replacement string
- ERROR_BADREPLACEMENT - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: invalid replacement string
- ERROR_BADSERIALIZEDDATA - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad serialized data
- ERROR_BADSUBSPATTERN - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: match with end before start or start moved backwards is not supported
- ERROR_BADSUBSTITUTION - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad substitution in replacement string
- ERROR_BADUTFOFFSET - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad offset into UTF string
- ERROR_CALLOUT - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: callout error code
- ERROR_CALLOUT_BAD_STRING_DELIMITER - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unrecognized string delimiter follows (?C
- ERROR_CALLOUT_NO_STRING_DELIMITER - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: missing terminating delimiter for callout with string argument
- ERROR_CALLOUT_NUMBER_TOO_BIG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: number after (?C is greater than 255
- ERROR_CALLOUT_STRING_TOO_LONG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: callout string is too long
- ERROR_CLASS_INVALID_RANGE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: invalid range in character class
- ERROR_CLASS_RANGE_ORDER - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: range out of order in character class
- ERROR_CODE_POINT_TOO_BIG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: character code point value in ⧵x{} or ⧵o{} is too large
- ERROR_CONDITION_ASSERTION_EXPECTED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: atomic assertion expected after (?( or (?(?C)
- ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: assertion expected after (?( or (?(?C)
- ERROR_CONVERT_SYNTAX - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: invalid syntax in pattern conversion
- ERROR_DEFINE_TOO_MANY_BRANCHES - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: DEFINE subpattern contains more than one branch
- ERROR_DEPTHLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: matching depth limit exceeded
- ERROR_DFA_BADRESTART - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: invalid data in workspace for DFA restart
- ERROR_DFA_RECURSE - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: too much recursion for DFA matching
- ERROR_DFA_UCOND - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: backreference condition or recursion test not supported for DFA
- ERROR_DFA_UFUNC - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: function is not supported for DFA matching
- ERROR_DFA_UINVALID_UTF - Static variable in interface org.pcre4j.api.IPcre2
-
Match error:
IPcre2.MATCH_INVALID_UTFis not supported for DFA matching - ERROR_DFA_UITEM - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: pattern contains an item not supported for DFA matching
- ERROR_DFA_WSSIZE - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: workspace size exceeded in DFA matching
- ERROR_DUPLICATE_SUBPATTERN_NAME - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: two named subpatterns have the same name
- ERROR_END_BACKSLASH - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵ at end of pattern
- ERROR_END_BACKSLASH_C - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵c at end of pattern
- ERROR_ESCAPE_INVALID_IN_CLASS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: escape sequence is invalid in character class
- ERROR_ESCAPE_INVALID_IN_VERB - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: invalid escape sequence in (*VERB) name
- ERROR_HEAP_FAILED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: failed to allocate heap memory
- ERROR_HEAPLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: heap limit exceeded
- ERROR_INTERNAL - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: internal error (pattern overwritten?)
- ERROR_INTERNAL_BAD_CODE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: unknown code in parsed pattern
- ERROR_INTERNAL_BAD_CODE_AUTO_POSSESS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: unknown opcode in auto_possessify()
- ERROR_INTERNAL_BAD_CODE_IN_SKIP - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: bad code value in parsed_skip()
- ERROR_INTERNAL_BAD_CODE_LOOKBEHINDS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: unknown meta code in check_lookbehinds()
- ERROR_INTERNAL_CODE_OVERFLOW - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: code overflow
- ERROR_INTERNAL_DUPMATCH - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: internal error: duplicate substitution match
- ERROR_INTERNAL_MISSING_SUBPATTERN - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: previously-checked referenced subpattern not found
- ERROR_INTERNAL_OVERRAN_WORKSPACE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: overran compiling workspace
- ERROR_INTERNAL_PARSED_OVERFLOW - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: parsed pattern overflow
- ERROR_INTERNAL_STUDY_ERROR - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error in pcre2_study(): should not occur
- ERROR_INTERNAL_UNEXPECTED_REPEAT - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: unexpected repeat
- ERROR_INTERNAL_UNKNOWN_NEWLINE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: internal error: unknown newline setting
- ERROR_INVALID_AFTER_PARENS_QUERY - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unrecognized character after (? or (?-
- ERROR_INVALID_HEXADECIMAL - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: non-hex character in ⧵x{} (closing brace missing?)
- ERROR_INVALID_HYPHEN_IN_OPTIONS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: invalid hyphen in option setting
- ERROR_INVALID_OCTAL - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: non-octal character in ⧵o{} (closing brace missing?)
- ERROR_INVALID_SUBPATTERN_NAME - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: subpattern name must start with a non-digit
- ERROR_INVALIDOFFSET - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: internal error: invalid substring offset
- ERROR_JIT_BADOPTION - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: bad JIT option
- ERROR_JIT_STACKLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: JIT stack limit reached
- ERROR_LOOKBEHIND_INVALID_BACKSLASH_C - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵C is not allowed in a lookbehind assertion in UTF mode
- ERROR_LOOKBEHIND_NOT_FIXED_LENGTH - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: length of lookbehind assertion is not limited
- ERROR_LOOKBEHIND_TOO_COMPLICATED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: lookbehind is too complicated
- ERROR_LOOKBEHIND_TOO_LONG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: lookbehind assertion is too long
- ERROR_MALFORMED_UNICODE_PROPERTY - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: malformed ⧵P or ⧵p sequence
- ERROR_MARK_MISSING_ARGUMENT - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: (*MARK) must have an argument
- ERROR_MATCHLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: match limit exceeded
- ERROR_MISSING_CALLOUT_CLOSING - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: closing parenthesis for (?C expected
- ERROR_MISSING_CLOSING_PARENTHESIS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: missing closing parenthesis
- ERROR_MISSING_COMMENT_CLOSING - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: missing ) after (?# comment
- ERROR_MISSING_CONDITION_CLOSING - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: missing closing parenthesis for condition
- ERROR_MISSING_NAME_TERMINATOR - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: syntax error in subpattern name (missing terminator?)
- ERROR_MISSING_OCTAL_OR_HEX_DIGITS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: digits missing in ⧵x{}, ⧵o{}, or ⧵N{U+}
- ERROR_MISSING_SQUARE_BRACKET - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: missing terminating ] for character class
- ERROR_MIXEDTABLES - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: patterns do not all use the same character tables
- ERROR_NO_SURROGATES_IN_UTF16 - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES is not allowed in UTF-16 mode
- ERROR_NOMATCH - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: no match was found
- ERROR_NOMEMORY - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: no more memory available
- ERROR_NOSUBSTRING - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: unknown substring
- ERROR_NOUNIQUESUBSTRING - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: non-unique substring name
- ERROR_NULL - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: NULL argument passed with non-zero length
- ERROR_NULL_PATTERN - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: pattern passed as NULL with non-zero length
- ERROR_OCTAL_BYTE_TOO_BIG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: octal value is greater than ⧵377 in 8-bit non-UTF-8 mode
- ERROR_PARENS_QUERY_R_MISSING_CLOSING - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: (?R (recursive pattern call) must be followed by a closing parenthesis
- ERROR_PARENTHESES_NEST_TOO_DEEP - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: parentheses are too deeply nested
- ERROR_PARENTHESES_STACK_CHECK - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: parentheses are too deeply nested (stack check)
- ERROR_PARTIAL - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: partial match
- ERROR_PATTERN_STRING_TOO_LONG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: pattern string is longer than the limit set by the application
- ERROR_PATTERN_TOO_COMPLICATED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: regular expression is too complicated
- ERROR_PATTERN_TOO_LARGE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: regular expression is too large
- ERROR_POSIX_CLASS_NOT_IN_CLASS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: POSIX named classes are supported only within a class
- ERROR_POSIX_NO_SUPPORT_COLLATING - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: POSIX collating elements are not supported
- ERROR_QUANTIFIER_INVALID - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: quantifier does not follow a repeatable item
- ERROR_QUANTIFIER_OUT_OF_ORDER - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: numbers out of order in {} quantifier
- ERROR_QUANTIFIER_TOO_BIG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: number too big in {} quantifier
- ERROR_QUERY_BARJX_NEST_TOO_DEEP - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: (?| and/or (?J: or (?x: parentheses are too deeply nested
- ERROR_RECURSELOOP - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: nested recursion at the same subject position
- ERROR_RECURSIONLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Deprecated.
- ERROR_REPMISSINGBRACE - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: expected closing curly bracket in replacement string
- ERROR_SCRIPT_RUN_NOT_AVAILABLE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: script runs require Unicode support
- ERROR_SUBPATTERN_NAME_EXPECTED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: subpattern name expected
- ERROR_SUBPATTERN_NAME_TOO_LONG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: subpattern name is too long
- ERROR_SUBPATTERN_NAMES_MISMATCH - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: different names for subpatterns of the same number are not allowed
- ERROR_SUBPATTERN_NUMBER_TOO_BIG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: subpattern number is too big
- ERROR_SUPPORTED_ONLY_IN_UNICODE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: ⧵N{U+dddd} is supported only in Unicode (UTF) mode
- ERROR_TOO_MANY_CAPTURES - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: too many capturing groups (maximum 65535)
- ERROR_TOO_MANY_CONDITION_BRANCHES - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: conditional subpattern contains more than two branches
- ERROR_TOO_MANY_NAMED_SUBPATTERNS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: too many named subpatterns
- ERROR_TOOMANYREPLACE - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: too many replacements (more than INT_MAX)
- ERROR_UCP_IS_DISABLED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: using UCP is disabled by the application
- ERROR_UNAVAILABLE - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: requested value is not available
- ERROR_UNICODE_DISALLOWED_CODE_POINT - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: disallowed Unicode code point (>= 0xd800 and <= 0xdfff)
- ERROR_UNICODE_NOT_SUPPORTED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: this version of PCRE2 does not have Unicode support
- ERROR_UNICODE_PROPERTIES_UNAVAILABLE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: this version of PCRE2 does not have support for ⧵P, ⧵p, or ⧵X
- ERROR_UNKNOWN_ESCAPE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unrecognized character follows ⧵
- ERROR_UNKNOWN_POSIX_CLASS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unknown POSIX class name
- ERROR_UNKNOWN_UNICODE_PROPERTY - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unknown property after ⧵P or ⧵p
- ERROR_UNMATCHED_CLOSING_PARENTHESIS - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unmatched closing parenthesis
- ERROR_UNRECOGNIZED_AFTER_QUERY_P - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: unrecognized character after (?P
- ERROR_UNSET - Static variable in interface org.pcre4j.api.IPcre2
-
Match error: requested value is not set
- ERROR_UNSUPPORTED_ESCAPE_SEQUENCE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: PCRE2 does not support ⧵F, ⧵L, ⧵l, ⧵N{name}, ⧵U, or ⧵u
- ERROR_UTF_IS_DISABLED - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: using UTF is disabled by the application
- ERROR_UTF16_ERR1 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-16 error: missing low surrogate at end of string
- ERROR_UTF16_ERR2 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-16 error: invalid low surrogate follows high surrogate
- ERROR_UTF16_ERR3 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-16 error: isolated low surrogate
- ERROR_UTF32_ERR1 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-32 error: code point in surrogate range (0xd800-0xdfff)
- ERROR_UTF32_ERR2 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-32 error: code point greater than 0x10ffff
- ERROR_UTF8_ERR1 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: 1 byte missing at end
- ERROR_UTF8_ERR10 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: byte 6 top bits not 0x80
- ERROR_UTF8_ERR11 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: 5-byte character is not allowed (RFC 3629)
- ERROR_UTF8_ERR12 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: 6-byte character is not allowed (RFC 3629)
- ERROR_UTF8_ERR13 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: code point greater than 0x10ffff
- ERROR_UTF8_ERR14 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: code point in surrogate range (0xd800-0xdfff)
- ERROR_UTF8_ERR15 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: overlong 2-byte sequence
- ERROR_UTF8_ERR16 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: overlong 3-byte sequence
- ERROR_UTF8_ERR17 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: overlong 4-byte sequence
- ERROR_UTF8_ERR18 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: overlong 5-byte sequence
- ERROR_UTF8_ERR19 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: overlong 6-byte sequence
- ERROR_UTF8_ERR2 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: 2 bytes missing at end
- ERROR_UTF8_ERR20 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: isolated byte with 0x80 bit set
- ERROR_UTF8_ERR21 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: illegal byte (0xfe or 0xff)
- ERROR_UTF8_ERR3 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: 3 bytes missing at end
- ERROR_UTF8_ERR4 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: 4 bytes missing at end
- ERROR_UTF8_ERR5 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: 5 bytes missing at end
- ERROR_UTF8_ERR6 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: byte 2 top bits not 0x80
- ERROR_UTF8_ERR7 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: byte 3 top bits not 0x80
- ERROR_UTF8_ERR8 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: byte 4 top bits not 0x80
- ERROR_UTF8_ERR9 - Static variable in interface org.pcre4j.api.IPcre2
-
UTF-8 error: byte 5 top bits not 0x80
- ERROR_VERB_ARGUMENT_NOT_ALLOWED - Static variable in interface org.pcre4j.api.IPcre2
-
Deprecated.Obsolete error (should not occur)
- ERROR_VERB_NAME_TOO_LONG - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN)
- ERROR_VERB_UNKNOWN - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: (*VERB) not recognized or malformed
- ERROR_VERSION_CONDITION_SYNTAX - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: syntax error or number too big in (?(VERSION condition
- ERROR_ZERO_RELATIVE_REFERENCE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile error: a relative value of zero is not allowed
- EXTENDED - Static variable in interface org.pcre4j.api.IPcre2
-
Ignore white space and # comments
- EXTENDED_MORE - Static variable in interface org.pcre4j.api.IPcre2
-
Like
IPcre2.EXTENDED, but also ignore unescaped space and horizontal tab in character classes - EXTRA_ALLOW_LOOKAROUND_BSK - Static variable in interface org.pcre4j.api.IPcre2
-
Allow ⧵K in lookaround assertions
- EXTRA_ALLOW_SURROGATE_ESCAPES - Static variable in interface org.pcre4j.api.IPcre2
-
Allow surrogate escape sequences in UTF-8 and UTF-32 modes
- EXTRA_ALT_BSUX - Static variable in interface org.pcre4j.api.IPcre2
-
Extend
IPcre2.ALT_BSUXto support ⧵u{hhh..} (ECMAScript 6) - EXTRA_ASCII_BSD - Static variable in interface org.pcre4j.api.IPcre2
-
Force ⧵d to match ASCII digits only, overriding UCP
- EXTRA_ASCII_BSS - Static variable in interface org.pcre4j.api.IPcre2
-
Force ⧵s to match ASCII space characters only, overriding UCP
- EXTRA_ASCII_BSW - Static variable in interface org.pcre4j.api.IPcre2
-
Force ⧵w to match ASCII word characters only, overriding UCP
- EXTRA_ASCII_DIGIT - Static variable in interface org.pcre4j.api.IPcre2
-
Force POSIX digit classes to match ASCII digits only, overriding UCP
- EXTRA_ASCII_POSIX - Static variable in interface org.pcre4j.api.IPcre2
-
Force POSIX character classes to match ASCII characters only, overriding UCP
- EXTRA_BAD_ESCAPE_IS_LITERAL - Static variable in interface org.pcre4j.api.IPcre2
-
Treat unrecognized escape sequences as literals
- EXTRA_CASELESS_RESTRICT - Static variable in interface org.pcre4j.api.IPcre2
-
Restrict caseless matching to not cross ASCII/non-ASCII boundary
- EXTRA_ESCAPED_CR_IS_LF - Static variable in interface org.pcre4j.api.IPcre2
-
Interpret ⧵r as ⧵n in patterns
- EXTRA_MATCH_LINE - Static variable in interface org.pcre4j.api.IPcre2
-
Pattern matches whole lines only (automatic line anchoring)
- EXTRA_MATCH_WORD - Static variable in interface org.pcre4j.api.IPcre2
-
Pattern matches whole words only (automatic word boundary assertions)
F
- FIRSTLINE - Static variable in interface org.pcre4j.api.IPcre2
-
Force matching to be before newline
- freeCalloutCallback(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a native callback function pointer previously created by
IPcre2.createCalloutCallback(org.pcre4j.api.Pcre2CalloutHandler). - freeCalloutEnumerateCallback(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a native callback function pointer previously created by
IPcre2.createCalloutEnumerateCallback(org.pcre4j.api.Pcre2CalloutEnumerateHandler). - fromValue(int) - Static method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Get the enum entry by its integer value.
- functionSuffix() - Method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Get the PCRE2 function suffix.
G
- generalContextCopy(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a copy of a general context.
- generalContextCreate(long, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Create a new general context.
- generalContextFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a general context.
- getErrorMessage(int, ByteBuffer) - Method in interface org.pcre4j.api.IPcre2
-
Get the error message for the given error code.
- getMark(long) - Method in interface org.pcre4j.api.IPcre2
-
Get the last (*MARK), (*PRUNE), or (*THEN) name that was encountered during matching.
- getMatchDataSize(long) - Method in interface org.pcre4j.api.IPcre2
-
Get the size of a match data block in bytes.
- getOvector(long, long[]) - Method in interface org.pcre4j.api.IPcre2
-
Get the output vector of the match data
- getOvectorCount(long) - Method in interface org.pcre4j.api.IPcre2
-
Get number of the offset pairs in the output vector of the match data
- getStartchar(long) - Method in interface org.pcre4j.api.IPcre2
-
Get the starting character offset from a match.
H
- hashCode() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns a hash code value for this object.
I
- IGNORE_PROPERTY - Static variable in class org.pcre4j.api.Pcre2NativeLoader
-
System property to skip bundled native loading.
- INativeMemoryAccess - Interface in org.pcre4j.api
-
Interface for native memory access operations.
- INFO_ALLOPTIONS - Static variable in interface org.pcre4j.api.IPcre2
-
Final options after compiling
- INFO_ARGOPTIONS - Static variable in interface org.pcre4j.api.IPcre2
-
Options passed to
IPcre2.compile(java.lang.String, int, int[], long[], long) - INFO_BACKREFMAX - Static variable in interface org.pcre4j.api.IPcre2
-
Number of highest backreference
- INFO_BSR - Static variable in interface org.pcre4j.api.IPcre2
-
What \R matches: PCRE2_BSR_UNICODE: Unicode line endings PCRE2_BSR_ANYCRLF: CR, LF, or CRLF only
- INFO_CAPTURECOUNT - Static variable in interface org.pcre4j.api.IPcre2
-
Number of capturing subpatterns
- INFO_DEPTHLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Backtracking depth limit if set, otherwise
IPcre2.ERROR_UNSET - INFO_EXTRAOPTIONS - Static variable in interface org.pcre4j.api.IPcre2
-
Extra options that were passed in the compile context
- INFO_FIRSTBITMAP - Static variable in interface org.pcre4j.api.IPcre2
-
Bitmap of first code units, or 0
- INFO_FIRSTCODETYPE - Static variable in interface org.pcre4j.api.IPcre2
-
Type of start-of-match information 0 nothing set 1 first code unit is set 2 start of string or after newline
- INFO_FIRSTCODEUNIT - Static variable in interface org.pcre4j.api.IPcre2
-
First code unit when type is 1
- INFO_FRAMESIZE - Static variable in interface org.pcre4j.api.IPcre2
-
Size of backtracking frame
- INFO_HASBACKSLASHC - Static variable in interface org.pcre4j.api.IPcre2
-
Return 1 if pattern contains \C
- INFO_HASCRORLF - Static variable in interface org.pcre4j.api.IPcre2
-
Return 1 if explicit CR or LF matches exist in the pattern
- INFO_HEAPLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Heap memory limit if set, otherwise
IPcre2.ERROR_UNSET - INFO_JCHANGED - Static variable in interface org.pcre4j.api.IPcre2
-
Return 1 if (?J) or (?-J) was used
- INFO_JITSIZE - Static variable in interface org.pcre4j.api.IPcre2
-
Size of JIT compiled code, or 0
- INFO_LASTCODETYPE - Static variable in interface org.pcre4j.api.IPcre2
-
Type of must-be-present information 0 nothing set 1 code unit is set
- INFO_LASTCODEUNIT - Static variable in interface org.pcre4j.api.IPcre2
-
Last code unit when type is 1
- INFO_MATCHEMPTY - Static variable in interface org.pcre4j.api.IPcre2
-
1 if the pattern can match an empty string, 0 otherwise
- INFO_MATCHLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Match limit if set, otherwise
IPcre2.ERROR_UNSET - INFO_MAXLOOKBEHIND - Static variable in interface org.pcre4j.api.IPcre2
-
Length (in characters) of the longest lookbehind assertion
- INFO_MINLENGTH - Static variable in interface org.pcre4j.api.IPcre2
-
Lower bound length of matching strings
- INFO_NAMECOUNT - Static variable in interface org.pcre4j.api.IPcre2
-
Number of named subpatterns
- INFO_NAMEENTRYSIZE - Static variable in interface org.pcre4j.api.IPcre2
-
Size of name table entries
- INFO_NAMETABLE - Static variable in interface org.pcre4j.api.IPcre2
-
Pointer to name table
- INFO_NEWLINE - Static variable in interface org.pcre4j.api.IPcre2
-
Code for the newline sequence:
IPcre2.NEWLINE_CRIPcre2.NEWLINE_LFIPcre2.NEWLINE_CRLFIPcre2.NEWLINE_ANYIPcre2.NEWLINE_ANYCRLFIPcre2.NEWLINE_NUL - INFO_RECURSIONLIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Deprecated.
- INFO_SIZE - Static variable in interface org.pcre4j.api.IPcre2
-
Size of compiled pattern
- IPcre2 - Interface in org.pcre4j.api
-
Interface for the PCRE2 API.
J
- JIT_COMPLETE - Static variable in interface org.pcre4j.api.IPcre2
-
Compile code for full matching
- JIT_INVALID_UTF - Static variable in interface org.pcre4j.api.IPcre2
-
Deprecated.
- JIT_PARTIAL_HARD - Static variable in interface org.pcre4j.api.IPcre2
-
Compile code for hard partial matching
- JIT_PARTIAL_SOFT - Static variable in interface org.pcre4j.api.IPcre2
-
Compile code for soft partial matching
- jitCompile(long, int) - Method in interface org.pcre4j.api.IPcre2
-
JIT-compile a compiled pattern.
- jitFreeUnusedMemory(long) - Method in interface org.pcre4j.api.IPcre2
-
Free unused JIT executable memory.
- jitMatch(long, String, int, int, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Match a compiled pattern against a subject string.
- jitStackAssign(long, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Assign the JIT stack to a match context.
- jitStackCreate(long, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Create a JIT stack.
- jitStackFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a JIT stack.
L
- libraryName() - Method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Get the default PCRE2 library name.
- LITERAL - Static variable in interface org.pcre4j.api.IPcre2
-
Pattern characters are all literal
- load(String) - Static method in class org.pcre4j.api.Pcre2NativeLoader
-
Load the bundled PCRE2 native library for the current platform.
M
- maketables(long) - Method in interface org.pcre4j.api.IPcre2
-
Build character tables in the current locale.
- maketablesFree(long, long) - Method in interface org.pcre4j.api.IPcre2
-
Free character tables that were obtained from
IPcre2.maketables(long). - match(long, String, int, int, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Match a compiled pattern against a subject string.
- MATCH_INVALID_UTF - Static variable in interface org.pcre4j.api.IPcre2
-
Enable support for matching invalid UTF
- MATCH_UNSET_BACKREF - Static variable in interface org.pcre4j.api.IPcre2
-
Match unset backreferences
- matchContextCopy(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a copy of a match context.
- matchContextCreate(long) - Method in interface org.pcre4j.api.IPcre2
-
Create a new match context.
- matchContextFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a match context.
- matchDataCreate(int, long) - Method in interface org.pcre4j.api.IPcre2
-
Create a new match data block.
- matchDataCreateFromPattern(long, long) - Method in interface org.pcre4j.api.IPcre2
-
Create a new match data block from a compiled pattern.
- matchDataFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free a match data block.
- MULTILINE - Static variable in interface org.pcre4j.api.IPcre2
-
^ and $ match newlines within data
N
- NEVER_BACKSLASH_C - Static variable in interface org.pcre4j.api.IPcre2
-
Lock out the use of \C in patterns
- NEVER_UCP - Static variable in interface org.pcre4j.api.IPcre2
-
Lock out PCRE2_UCP, e.g.
- NEVER_UTF - Static variable in interface org.pcre4j.api.IPcre2
-
Lock out PCRE2_UTF, e.g.
- NEWLINE_ANY - Static variable in interface org.pcre4j.api.IPcre2
-
Any Unicode newline sequence
- NEWLINE_ANYCRLF - Static variable in interface org.pcre4j.api.IPcre2
- NEWLINE_CR - Static variable in interface org.pcre4j.api.IPcre2
-
Carriage return only (\r)
- NEWLINE_CRLF - Static variable in interface org.pcre4j.api.IPcre2
-
CR followed by LF only (\r\n)
- NEWLINE_LF - Static variable in interface org.pcre4j.api.IPcre2
-
Linefeed only (\n)
- NEWLINE_NUL - Static variable in interface org.pcre4j.api.IPcre2
-
NUL character (\0)
- nextItemLength() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
nextItemLengthrecord component. - nextItemLength() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns the value of the
nextItemLengthrecord component. - NO_AUTO_CAPTURE - Static variable in interface org.pcre4j.api.IPcre2
-
Disable numbered capturing parentheses (named ones available)
- NO_AUTO_POSSESS - Static variable in interface org.pcre4j.api.IPcre2
-
Disable auto-possessification
- NO_DOTSTAR_ANCHOR - Static variable in interface org.pcre4j.api.IPcre2
-
Disable automatic anchoring for .*
- NO_JIT - Static variable in interface org.pcre4j.api.IPcre2
-
Do not use JIT matching
- NO_START_OPTIMIZE - Static variable in interface org.pcre4j.api.IPcre2
-
Disable match-time start optimizations
- NO_UTF_CHECK - Static variable in interface org.pcre4j.api.IPcre2
-
Do not check the pattern for UTF validity (only relevant if UTF is set)
- NOTBOL - Static variable in interface org.pcre4j.api.IPcre2
-
Subject string is not the beginning of a line
- NOTEMPTY - Static variable in interface org.pcre4j.api.IPcre2
-
An empty string is not a valid match
- NOTEMPTY_ATSTART - Static variable in interface org.pcre4j.api.IPcre2
-
An empty string at the start of the subject is not a valid match
- NOTEOL - Static variable in interface org.pcre4j.api.IPcre2
-
Subject string is not the end of a line
O
- onCallout(Pcre2CalloutBlock) - Method in interface org.pcre4j.api.Pcre2CalloutHandler
-
Called by PCRE2 during matching when a callout point is reached.
- onCallout(Pcre2CalloutEnumerateBlock) - Method in interface org.pcre4j.api.Pcre2CalloutEnumerateHandler
-
Called for each callout point found in a compiled pattern.
- org.pcre4j.api - module org.pcre4j.api
-
PCRE4J Backend API — defines the contract that PCRE2 backend implementations must fulfill.
- org.pcre4j.api - package org.pcre4j.api
P
- PARTIAL_HARD - Static variable in interface org.pcre4j.api.IPcre2
-
Return
IPcre2.ERROR_PARTIALfor a partial match if no full matches are found - PARTIAL_SOFT - Static variable in interface org.pcre4j.api.IPcre2
-
Return
IPcre2.ERROR_PARTIALfor a partial match even if there is a full match - patternConvert(String, int, long[], long[], long) - Method in interface org.pcre4j.api.IPcre2
-
Convert a foreign pattern (glob or POSIX) to a PCRE2 regular expression.
- patternInfo(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Retrieve size of the information about a compiled pattern.
- patternInfo(long, int, int[]) - Method in interface org.pcre4j.api.IPcre2
-
Retrieve the information about a compiled pattern as Integer.
- patternInfo(long, int, long[]) - Method in interface org.pcre4j.api.IPcre2
-
Retrieve the information about a compiled pattern as Long.
- patternInfo(long, int, ByteBuffer) - Method in interface org.pcre4j.api.IPcre2
-
Retrieve the information about a compiled pattern as byte buffer.
- patternPosition() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
patternPositionrecord component. - patternPosition() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns the value of the
patternPositionrecord component. - Pcre2CalloutBlock - Record Class in org.pcre4j.api
-
Information about a callout point reached during matching.
- Pcre2CalloutBlock(int, int, int, long, long, long, long, long, long, String, int) - Constructor for record class org.pcre4j.api.Pcre2CalloutBlock
-
Creates an instance of a
Pcre2CalloutBlockrecord class. - Pcre2CalloutEnumerateBlock - Record Class in org.pcre4j.api
-
Information about a callout point found during pattern enumeration.
- Pcre2CalloutEnumerateBlock(long, long, int, long, long, String) - Constructor for record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Creates an instance of a
Pcre2CalloutEnumerateBlockrecord class. - Pcre2CalloutEnumerateHandler - Interface in org.pcre4j.api
-
A handler for enumerating callout points in a compiled PCRE2 pattern.
- Pcre2CalloutHandler - Interface in org.pcre4j.api
-
A handler for PCRE2 callouts during pattern matching.
- Pcre2LibraryFinder - Class in org.pcre4j.api
-
Utility for discovering the PCRE2 native library on the system.
- Pcre2NativeLoader - Class in org.pcre4j.api
-
Extracts bundled PCRE2 native libraries from the classpath.
- Pcre2UtfWidth - Enum Class in org.pcre4j.api
-
The UTF character width.
R
- readBytes(long, int) - Method in interface org.pcre4j.api.INativeMemoryAccess
-
Read bytes from a native memory pointer.
- readConvertedPattern(long, long) - Method in interface org.pcre4j.api.IPcre2
-
Read a converted pattern from native memory as a Java String.
S
- serializeDecode(long[], int, byte[], long) - Method in interface org.pcre4j.api.IPcre2
-
Deserialize compiled patterns from a byte array.
- serializeEncode(long[], int, long[], long[], long) - Method in interface org.pcre4j.api.IPcre2
-
Serialize one or more compiled patterns to a byte array.
- serializeFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free memory that was allocated by
IPcre2.serializeEncode(long[], int, long[], long[], long)for holding a serialized byte stream. - serializeGetNumberOfCodes(byte[]) - Method in interface org.pcre4j.api.IPcre2
-
Get the number of serialized patterns in a byte stream.
- setBsr(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set what \R matches within a compile context.
- setCallout(long, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Set up a callout function within a match context.
- setCharacterTables(long, long) - Method in interface org.pcre4j.api.IPcre2
-
Set custom character tables for pattern compilation within a compile context.
- setCompileExtraOptions(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set additional compile options within a compile context.
- setCompileRecursionGuard(long, long, long) - Method in interface org.pcre4j.api.IPcre2
-
Set a compile recursion guard function within a compile context.
- setDepthLimit(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set the backtracking depth limit within a match context.
- setGlobEscape(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set the escape character for glob pattern conversion.
- setGlobSeparator(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set the path separator character for glob pattern conversion.
- setHeapLimit(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set the heap memory limit within a match context.
- setMatchLimit(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set the match limit within a match context.
- setMaxPatternLength(long, long) - Method in interface org.pcre4j.api.IPcre2
-
Set the maximum length of pattern that can be compiled.
- setNewline(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set the newline convention within a compile context
- setOffsetLimit(long, long) - Method in interface org.pcre4j.api.IPcre2
-
Set the offset limit within a match context.
- setParensNestLimit(long, int) - Method in interface org.pcre4j.api.IPcre2
-
Set the parentheses nesting limit within a compile context.
- startMatch() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns the value of the
startMatchrecord component. - substitute(long, String, int, int, long, long, String, ByteBuffer, long[]) - Method in interface org.pcre4j.api.IPcre2
-
Match a compiled pattern against a subject string and perform substitution.
- SUBSTITUTE_EXTENDED - Static variable in interface org.pcre4j.api.IPcre2
-
Enable extended replacement string processing
- SUBSTITUTE_GLOBAL - Static variable in interface org.pcre4j.api.IPcre2
-
Replace all occurrences, not just the first
- SUBSTITUTE_LITERAL - Static variable in interface org.pcre4j.api.IPcre2
-
Treat the replacement string as literal text
- SUBSTITUTE_MATCHED - Static variable in interface org.pcre4j.api.IPcre2
-
Use pre-existing match data for the first substitution match
- SUBSTITUTE_OVERFLOW_LENGTH - Static variable in interface org.pcre4j.api.IPcre2
-
If output buffer overflows, compute the needed length
- SUBSTITUTE_REPLACEMENT_ONLY - Static variable in interface org.pcre4j.api.IPcre2
-
Return only the replacement string(s), not the whole subject
- SUBSTITUTE_UNKNOWN_UNSET - Static variable in interface org.pcre4j.api.IPcre2
-
Treat unknown capture groups as unset in substitutions
- SUBSTITUTE_UNSET_EMPTY - Static variable in interface org.pcre4j.api.IPcre2
-
Treat unset capture groups as empty strings in substitutions
- substringCopyByName(long, String, ByteBuffer, long[]) - Method in interface org.pcre4j.api.IPcre2
-
Copy a captured substring by its name into a caller-provided buffer.
- substringCopyByNumber(long, int, ByteBuffer, long[]) - Method in interface org.pcre4j.api.IPcre2
-
Copy a captured substring by its number into a caller-provided buffer.
- substringFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free memory that was allocated by
IPcre2.substringGetByNumber(long, int, long[], long[])orIPcre2.substringGetByName(long, java.lang.String, long[], long[]). - substringGetByName(long, String, long[], long[]) - Method in interface org.pcre4j.api.IPcre2
-
Extract a captured substring by its name into newly allocated memory.
- substringGetByNumber(long, int, long[], long[]) - Method in interface org.pcre4j.api.IPcre2
-
Extract a captured substring by its number into newly allocated memory.
- substringLengthByName(long, String, long[]) - Method in interface org.pcre4j.api.IPcre2
-
Get the length of a captured substring by its group name.
- substringLengthByNumber(long, int, long[]) - Method in interface org.pcre4j.api.IPcre2
-
Get the length of a captured substring by its group number.
- substringListFree(long) - Method in interface org.pcre4j.api.IPcre2
-
Free memory that was allocated by
IPcre2.substringListGet(long, long[], long[]). - substringListGet(long, long[], long[]) - Method in interface org.pcre4j.api.IPcre2
-
Extract all captured substrings into newly allocated memory.
- substringNametableScan(long, String, long[], long[]) - Method in interface org.pcre4j.api.IPcre2
-
Find the first and last name table entries for a given capture group name.
- substringNumberFromName(long, String) - Method in interface org.pcre4j.api.IPcre2
-
Convert a named capturing group to its group number.
T
- TMPDIR_PROPERTY - Static variable in class org.pcre4j.api.Pcre2NativeLoader
-
System property to override the temporary directory for native library extraction.
- toString() - Method in record class org.pcre4j.api.Pcre2CalloutBlock
-
Returns a string representation of this record class.
- toString() - Method in record class org.pcre4j.api.Pcre2CalloutEnumerateBlock
-
Returns a string representation of this record class.
U
- UCP - Static variable in interface org.pcre4j.api.IPcre2
-
Use Unicode properties for \d, \w, etc.
- UNGREEDY - Static variable in interface org.pcre4j.api.IPcre2
-
Invert greediness of quantifiers
- USE_OFFSET_LIMIT - Static variable in interface org.pcre4j.api.IPcre2
-
Enable offset limit for unanchored matching
- UTF - Static variable in interface org.pcre4j.api.IPcre2
-
Treat pattern and subjects as UTF strings
- UTF16 - Enum constant in enum class org.pcre4j.api.Pcre2UtfWidth
-
UTF-16 encoding (2 or 4 bytes per character, 2 byte code unit).
- UTF32 - Enum constant in enum class org.pcre4j.api.Pcre2UtfWidth
-
UTF-32 encoding (4 bytes per character, 4 byte code unit).
- UTF8 - Enum constant in enum class org.pcre4j.api.Pcre2UtfWidth
-
UTF-8 encoding (1-4 bytes per character, 1 byte code unit).
V
- value() - Method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Get the PCRE2 config bit value.
- valueOf(String) - Static method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.pcre4j.api.Pcre2UtfWidth
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values
IPcre2.CONFIG_DEPTHLIMIT