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