2.2.2 [XDM/2] Section 3.3.1.4, Pattern Facets

C00002:

The specification states that pattern facets, by their nature, cannot be round-trippable. XQuery in SQL Server stores values as a typed representation, so pattern facets that are not encapsulated in the storage of a typed value are not round-trippable.