MatchesXsString🔗
Check that
text
conforms to the pattern of an xs:string
.
Code
pattern = (
'^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$'
)
return match(
pattern,
text
) is not None