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 = (
    '^[\\u0001-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$'
)
return match(
    pattern,
    text
) is not None