1
0
mirror of https://github.com/golang/go synced 2024-11-21 11:14:40 -07:00
This commit is contained in:
func25 2024-09-06 23:58:22 +07:00
parent fde024351e
commit 4a3c198ac1
No known key found for this signature in database
GPG Key ID: 746D8D0E266CD0E5

View File

@ -114,6 +114,7 @@ var simplifyTests = []struct {
{`(?i)[a-z]`, "[A-Za-z\u017F\u212A]"},
{`(?i)[\x00-\x{FFFD}]`, "[\\x00-\uFFFD]"},
{`(?i)[\x00-\x{10FFFF}]`, `(?s:.)`},
{`[xX][O-u]`, `(?i:X)[O-u]`},
// Empty string as a regular expression.
// The empty string must be preserved inside parens in order