[Cuis-dev] UnicodeString instead of String

Bernhard Pieber bernhard at pieber.com
Mon Jan 30 13:05:05 PST 2023


Hi,

I have stumbled over something strange:
'32104-816439' class. "String"
{'32104-816439'} first class.  "String"
#('32104-816439') first class. "UnicodeString“

I would rather have the last expression return String instead of UnicodeString.

I found this because matchesRegex: in the Regex package does not work for UnicodeStrings.

Cheers,
Bernhard


More information about the Cuis-dev mailing list