Open igorzhilianin opened 9 months ago
Change https://go.dev/cl/548997 mentions this issue: regexp/syntax: allow extended Unicode characters in capture names
cc @rsc
we rejected #60784 a while ago, though re2 allows more unicode these https://github.com/google/re2/commit/6a994180b85293eafcce21d9f3eb8a3526498248
Go version
go version go1.21.4 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Python's re and google/re2 has no issue compiling named capture groups with international characters.
Go doesn't support it, as you could see here running this sample: https://go.dev/play/p/d1pVihwOznE
What did you expect to see?
No errors.
What did you see instead?