MatchesXmlSerializableString🔗

Type: Pattern verification
Check that text conforms to the pattern of the Constraint AASd-130.
Ensures that encoding is possible and interoperability between different serializations is possible.
text🔗
Text to be checked
Return🔗
True if the text conforms to the pattern

Code

pattern = r"^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$"
return match(pattern, text) is not None