MatchesXsString🔗

Type: Pattern verification
Check that text conforms to the pattern of an xs:string.
text🔗
Text to be checked
Return🔗
True if the text conforms to the pattern

Code

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