Merge remote-tracking branch 'offical/master'

This commit is contained in:
2025-10-12 00:52:35 -04:00
272 changed files with 4127 additions and 2670 deletions
+8 -3
View File
@@ -1,4 +1,4 @@
// Procedures to manipulate UTF-8 encoded strings
// A `string` builder, as well as procedures to manipulate `UTF-8` encoded strings.
package strings
import "base:intrinsics"
@@ -436,8 +436,13 @@ equal_fold :: proc(u, v: string) -> (res: bool) {
return false
}
// TODO(bill): Unicode folding
r := unicode.simple_fold(sr)
for r != sr && r < tr {
r = unicode.simple_fold(sr)
}
if r == tr {
continue loop
}
return false
}