Unicode and text model
Text-model features define the units, encodings, properties, normalization, case behavior, and segmentation rules visible to matching.
- Canonical category ID
unicode-and-text-model- Exact feature count
- 23
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.
unicode23
- ASCII-restricted Unicode classesRestricts otherwise Unicode-aware shorthand classes or boundaries to ASCII.
feature.ascii-restricted-unicode-classes - Arbitrary byte domainMatches arbitrary octets without requiring a valid character encoding.
feature.byte-domain - Canonical-equivalence matchingTreats canonically equivalent Unicode sequences as equivalent for matching.
feature.canonical-equivalence - Encoding code-unit domainTreats one code unit of the selected encoding as the fundamental matching unit.
feature.code-unit-domain - Enumerated Unicode property valueMatches code points whose Unicode enumerated property has the named value, including non-binary properties such as Script or General_Category.
feature.enumerated-unicode-property-value - Extended grapheme clusterConsumes one default extended grapheme cluster under Unicode text segmentation.
feature.extended-grapheme-cluster - Unicode full case foldingPerforms case-insensitive comparison that may equate strings of different lengths.
feature.full-case-folding - Legacy grapheme clusterConsumes one legacy grapheme cluster under an older segmentation rule.
feature.legacy-grapheme-cluster - Locale-sensitive case matchingUses locale or culture-specific case relationships during matching.
feature.locale-case-folding - Malformed text as raw unitsContinues matching malformed encoded data as code units or bytes.
feature.malformed-text-raw-units - Malformed encoded-text rejectionRejects a subject or pattern that is ill-formed in the selected encoding.
feature.malformed-text-rejection - Malformed text replacement decodingRepairs malformed input with replacement characters before matching.
feature.malformed-text-replacement - Native result index unitReports spans in the host's declared unit such as bytes, code units, code points or characters.
feature.native-index-unit - Normalization-aware matchingMatches through an explicit Unicode normalization transform while preserving result-coordinate semantics.
feature.normalization-aware-matching - Numeric Unicode code-point escapeDenotes a Unicode code point by numeric value subject to the grammar's range, width and mode rules.
feature.numeric-unicode-code-point-escape - Numeric Unicode property valueMatches code points selected by a Unicode numeric property and governed value comparison/alias rule.
feature.numeric-unicode-property-value - Unicode simple case foldingPerforms case-insensitive comparison using one-to-one Unicode simple folds.
feature.simple-case-folding - Single code-unit escapeConsumes one code unit even when the surrounding pattern uses a Unicode mode.
feature.single-code-unit-escape - Unicode code-point domainTreats one Unicode code point as the fundamental matching unit.
feature.unicode-code-point-domain - Unicode grapheme boundaryAsserts a default Unicode grapheme-cluster boundary.
feature.unicode-grapheme-boundary - Unicode scalar-value domainTreats scalar values, excluding isolated surrogates, as the fundamental matching unit.
feature.unicode-scalar-domain - Unicode sentence boundaryAsserts a default Unicode sentence-break boundary.
feature.unicode-sentence-boundary - Default Unicode word boundaryAsserts a default Unicode word-break boundary.
feature.unicode-word-boundary
Category provenance
All 23 entries above derive from the canonical Regex Conformance snapshot at reviewed revision 3285cc9fa8310df0af00fa50724d65531e0695d9. The bound semantic digest is e2c99c582ad9c8f2875060f9cb9d3ec0da8057f554ac09477f8e07b96da30b05.