diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-07 16:19:12 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-07 16:19:12 -0500 |
| commit | 7eb1fbf5d2d632bbd98fc3fa7cff777197a63d34 (patch) | |
| tree | 7238baa1f07ebc077473a49300992db846b2b606 /test/text.tm | |
| parent | d590b9d386977d342fc3580e473219d5b9e38503 (diff) | |
Add proper language support for case operations on text
Diffstat (limited to 'test/text.tm')
| -rw-r--r-- | test/text.tm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/text.tm b/test/text.tm index 7d6ce831..a1b36d97 100644 --- a/test/text.tm +++ b/test/text.tm @@ -11,6 +11,26 @@ func main(): >> str[1] = "H" + >> "I":lower() + = "i" + >> "I":lower(language="tr_TR") + = "ı" + + >> "i":upper() + = "I" + >> "i":upper(language="tr_TR") + = "İ" + + >> "ian":title() + = "Ian" + >> "ian":title(language="tr_TR") + = "İan" + + >> "I":caseless_equals("ı") + = no + >> "I":caseless_equals("ı", language="tr_TR") + = yes + >> str[9] = "é" |
