Character Class Subtraction

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XML Schemas

Character Class Subtraction

A character class expression subtracted from a positive character group or negative character group using the subtraction (-) character.

Syntax

charClassSub ::= ( posCharGroup | negCharGroup ) '-' charClassExpr

For any positive character group or negative character group G, and any character class expression C, G-C is a valid character class subtraction that identifies the set of all characters in C(G) that are not also in C(C).

See Also

XML Schema Regular Expressions | XML Schema Regular Expressions Reference Chart | Negative Character Group | Data Type Facets | Positive Character Group