NeedsInvestigationhelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
What version of Go are you using (go version)?
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
What did you do?
package main
import (
"fmt"
"mime"
)
func main() {
exts, _ := mime.ExtensionsByType("video/x-anim")
fmt.Println(exts)
typ := mime.TypeByExtension(".anim1")
fmt.Println(typ)
}
What did you expect to see?
.anim1 .anim2 .anim3 .anim4 .anim5 .anim6 .anim7 .anim8 .anim9 .animj
video/x-anim
What did you see instead?
[.anim[1-9j]]
/usr/share/mime/globs2 has 50:video/x-anim:*.anim[1-9j].