Character classes
Character classes describe sets, ranges, properties, and other rules that select a single governed text unit.
- Canonical category ID
character-classes- Exact feature count
- 27
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.
character class27
- Character-class intersectionMatches a text unit common to each class operand.
feature.class-intersection - Character-class complementMatches a governed text unit outside the class operand's set.
feature.class-negation - Character rangeMatches a text unit within an ordered inclusive range under the active range policy.
feature.class-range - Class string disjunctionMatches one of several explicitly listed strings inside a Unicode-set expression.
feature.class-string-disjunction - String-valued class memberAllows a class operand to match a finite string rather than exactly one code point.
feature.class-string-member - Character-class subtractionMatches a text unit in one class but not a subtracted class.
feature.class-subtraction - Character-class symmetric differenceMatches a text unit in exactly one of two class operands.
feature.class-symmetric-difference - Character-class unionMatches a text unit that belongs to the union of class operands.
feature.class-union - Digit shorthand classMatches the profile-defined digit set.
feature.digit-class - Generic newline sequenceConsumes one logical newline sequence selected by the active newline convention.
feature.generic-newline-sequence - Horizontal whitespaceMatches horizontal spacing characters under the profile's text model.
feature.horizontal-whitespace - Nested character classUses a class expression as an operand inside another class expression.
feature.nested-character-class - POSIX collating elementTreats a named collating element as one bracket-expression element.
feature.posix-collating-element - POSIX equivalence classMatches members equivalent under the active collation's primary weight.
feature.posix-equivalence-class - POSIX named character classMatches the locale- or profile-defined members of a named POSIX class.
feature.posix-named-class - Unicode binary propertyMatches code points for which a named binary Unicode property is true.
feature.unicode-binary-property - Unicode block propertyMatches code points assigned to a named Unicode block range.
feature.unicode-block - Unicode character-name escapeMatches a code point selected by its standardized character name or supported name alias.
feature.unicode-character-name - Unicode General_Category propertyMatches code points by Unicode General_Category value.
feature.unicode-general-category - Unicode property alias resolutionResolves standardized long, short and loose property names to the same property identity.
feature.unicode-property-alias - Unicode property-value wildcardSelects multiple property values by a wildcard over their names.
feature.unicode-property-value-wildcard - Unicode Script propertyMatches code points by their primary Unicode Script value.
feature.unicode-script - Unicode Script_Extensions propertyMatches code points whose Script_Extensions set contains the requested script.
feature.unicode-script-extensions - Unicode property of stringsMatches a finite Unicode string belonging to a standardized string-valued property.
feature.unicode-string-property - Vertical whitespaceMatches vertical spacing or line-separator characters under the profile's text model.
feature.vertical-whitespace - Whitespace shorthand classMatches the profile-defined whitespace set.
feature.whitespace-class - Word-character shorthand classMatches the profile-defined word-character set.
feature.word-class
Category provenance
All 27 entries above derive from the canonical Regex Conformance snapshot at reviewed revision 3285cc9fa8310df0af00fa50724d65531e0695d9. The bound semantic digest is e2c99c582ad9c8f2875060f9cb9d3ec0da8057f554ac09477f8e07b96da30b05.