x/text/language: matcher doesn't match en-SG exactly to en #29884
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (go version)?
go version go1.11 darwin/amd64
What operating system and processor architecture are you using (go env)?
amd64, macOS Sierra 10.12.6
What did you do?
What did you expect to see?
What did you see instead?
If you replace
en-SG
withen-US
in thelocale
string, then it does indeed exactly match toen
(en-u-rg-uszzzz
)The text was updated successfully, but these errors were encountered: