[Cuis-dev] UnicodeString instead of String
Juan Vuletich
juan at cuis.st
Mon Jan 30 16:06:58 PST 2023
On 1/30/2023 6:05 PM, Bernhard Pieber via Cuis-dev wrote:
> 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
Just posted a fix. In any case, I think that the Regex package should
handle UnicodeStrings too.
Note: Literals will be String / Character only if content is strictly
ASCII. Any accented Latin character and it will be UnicodeString /
UnicodeCodePoint.
Cheers,
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
More information about the Cuis-dev
mailing list