From 28fd9fa8a6de5f5e75a3ca2eeaa55b5ae4a2722b Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 8 Jan 2025 11:21:30 -0500 Subject: unicode: add CategoryAliases, Cn, LC CategoryAliases is for regexp to use, for things like \p{Letter} as an alias for \p{L}. Cn and LC are special-case categories that were never implemented but should have been. These changes were generated by the updated generator in CL 641395. Fixes #70780. Change-Id: Ibba20ff76191c8ae9631ac5ba19965790fe0cc81 Reviewed-on: https://go-review.googlesource.com/c/go/+/641376 LUCI-TryBot-Result: Go LUCI Reviewed-by: Alan Donovan --- src/unicode/script_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/unicode/script_test.go') diff --git a/src/unicode/script_test.go b/src/unicode/script_test.go index 66bfa3cb9e..3ae2800426 100644 --- a/src/unicode/script_test.go +++ b/src/unicode/script_test.go @@ -52,6 +52,10 @@ var inCategoryTest = []T{ {0x00bb, "P"}, {0x00a2, "S"}, {0x00a0, "Z"}, + {0x0065, "LC"}, + // Unassigned + {0x0378, "Cn"}, + {0x0378, "C"}, } var inPropTest = []T{ -- cgit v1.3