Restartable partial match
Continues a prior partial match after additional subject data arrives.
- Semantic feature ID
feature.partial-match-restart- Feature class
- special operation
Meaning and scope
Continues a prior partial match after additional subject data arrives.
Corpus class: special operation. The claim scope is canonical-invariant.
Names and semantic variants
The corpus records no separate aliases or historical names.
- caller retained overlap
variant.partial-match-restart.caller-retained-overlapWithin Restartable partial match, this variant fixes the differentiating rule so the caller retains and resubmits the required subject overlap. - dfa state restart
variant.partial-match-restart.dfa-state-restartWithin Restartable partial match, this variant fixes the differentiating rule so serialized DFA state resumes matching without reconstructing prior subject state.
Syntax and API manifestations
Manifestations are source-specific ways this semantic feature becomes visible. They demonstrate provenance and vocabulary; they are not a universal spelling or a compatibility claim.
| Source | Kind | Form |
|---|---|---|
| PCRE2 partial matching | host api or observable behavior | host API or observable rule; no independent pattern token |
Prerequisites, modifiers, and interactions
The corpus records no separate typed feature interaction for this identity.
Operations, captures, and replacement
Relevant operations
- compile
operation.compileCompile or validate a pattern without requiring a successful match. - test
operation.testReturn whether a pattern has a match. - search
operation.searchFind the first applicable match in a governed subject region. - find all
operation.find-allEnumerate non-overlapping matches under the host advancement rule. - partial match
operation.partial-matchReport whether more subject data could complete a match. - stream scan
operation.stream-scanMatch across incrementally supplied subject blocks. - block scan
operation.block-scanMatch one contiguous block through a multi-pattern database. - vector scan
operation.vector-scanMatch a logical subject supplied as several blocks. - set match
operation.set-matchReport which members of a compiled pattern set match.
Capture and result behavior
Restartable partial match introduces no capture allocation or capture-result shape beyond captures already present in its operands.
Replacement implications
Restartable partial match has no governed replacement operation in this corpus revision.
Text model, diagnostics, and resources
Unicode and text model
Once the profile's text domain is fixed, Restartable partial match introduces no additional Unicode, normalization, or encoding rule.
Errors and diagnostics
Restartable partial match has no feature-specific diagnostic class; ordinary syntax, unsupported, and operation errors remain separately observable.
Resource and termination behavior
Restartable partial match carries database, scratch, block, stream, callback, or retained-state costs that must be measured separately from the semantic result.
Examples and edge-case concepts
These are semantic test concepts, not claims about the syntax or support of a particular implementation.
- Positive
- Demonstrate that Continues a prior partial match after additional subject data arrives. using the smallest source-documented manifestation and a bound operation/profile.
- Negative
- Separate unsupported or syntactically rejected Restartable partial match from an accepted pattern that produces no match.
- Edge
- Vary the material dimensions for Restartable partial match: definition, resource_termination, search_iteration, options_state, host_operation; keep unrelated syntax and host state fixed.
Authoritative source references
The semantic identity and documented behavior are bound to the following exact corpus source records. Normative publishers remain authoritative for their own standards; the Regex Conformance corpus owns the reviewed cross-source semantic model.
- PCRE2 partial matchingPCRE2 · retrieved at cutoff · official implementation documentationsoft, hard and restartable partial matching
pcre2-partial
Corpus binding
Semantic ID feature.partial-match-restart, feature revision 4, corpus status frozen declared cutoff semantic universe, discovery cutoff 2026-09-08T00:14:25Z.
Snapshot: semantic-corpus/snapshots/regex-semantic-features-2026-09-08.v4.json
Revision: 3285cc9fa8310df0af00fa50724d65531e0695d9
Semantic digest: e2c99c582ad9c8f2875060f9cb9d3ec0da8057f554ac09477f8e07b96da30b05