Diagnostics, resources and safety
These features govern errors, limits, termination, memory and time behavior, and the observable safety contracts of compilation and matching.
- Canonical category ID
diagnostics-resources-and-safety- Exact feature count
- 20
Conceptual organization
The groupings below use the corpus’s feature-class field to make the category easier to scan. They do not change canonical category membership.
diagnostic20
- Backtracking depth limitStops matching when the backtracking or recursion depth bound is reached.
feature.backtracking-depth-limit - Bounded matcher memoryConstrains matcher memory through a configured or implementation-defined budget with graceful failure.
feature.bounded-memory-guarantee - Pattern syntax errorRejects invalid pattern grammar with a compile-phase error.
feature.compile-syntax-error - Diagnostic code and classExposes a stable or native error classification in addition to message text.
feature.diagnostic-code-and-class - Diagnostic source offsetReports the native pattern or replacement position associated with an error.
feature.diagnostic-offset - Invalid escape errorRejects an unrecognized or malformed escape under the selected grammar.
feature.invalid-escape-error - Invalid group referenceRejects or classifies a reference to a nonexistent or illegal group.
feature.invalid-group-reference - Invalid quantifier errorRejects malformed, out-of-order or context-invalid quantifier syntax.
feature.invalid-quantifier-error - Invalid Unicode property errorRejects an unknown property or illegal property value.
feature.invalid-unicode-property - Linear-time match guaranteeGuarantees asymptotically linear match time within the documented feature subset and resource model.
feature.linear-time-guarantee - Match heap limitStops matching when governed backtracking heap allocation is exhausted.
feature.match-heap-limit - Match step limitStops matching after a governed amount of matcher work.
feature.match-step-limit - Pattern nesting-depth limitRejects or stops patterns whose group nesting exceeds a governed bound.
feature.nesting-depth-limit - Operation timeoutStops a complete match, iteration or replacement operation after a governed duration.
feature.operation-timeout - Pattern size limitRejects compilation when pattern size or compiled representation exceeds a governed limit.
feature.pattern-size-limit - Replacement output overflow sizingReports insufficient output capacity and, where supported, the required size.
feature.replacement-buffer-overflow - Stack exhaustion outcomeReports or contains native stack exhaustion caused by pattern evaluation.
feature.stack-exhaustion - Target crash or signal outcomePreserves a target process crash or signal as a regex execution outcome distinct from infrastructure failure.
feature.target-crash-or-signal - Unsupported construct rejectionRejects a syntactically identifiable feature unavailable to the selected matcher or profile.
feature.unsupported-construct - Matcher workspace exhaustionReports insufficient DFA, scratch or stream workspace without misclassifying it as no-match.
feature.workspace-exhaustion
Category provenance
All 20 entries above derive from the canonical Regex Conformance snapshot at reviewed revision 3285cc9fa8310df0af00fa50724d65531e0695d9. The bound semantic digest is e2c99c582ad9c8f2875060f9cb9d3ec0da8057f554ac09477f8e07b96da30b05.