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

Remarks

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

Reference

XML Schema Regular Expressions
XML Schema Regular Expressions Reference Chart
Negative Character Group
Positive Character Group

Concepts

Data Type Facets