MatchesGlobalAssetIdLiterally🔗
Check that the
text matches globalAssetId case-insensitive.
The case-insensitivity depends on the culture. For example in Turkish, uppercase
"i" is "İ", not "I". We assume the culture to be English, and explicitly check
for English case-folding.
Code
pattern = "^[gG][lL][oO][bB][aA][lL][aA][sS][sS][eE][tT][iI][dD]$"
return match(pattern, text) is not None