vendor/github.com/pelletier/go-toml/keysparsing.go
changeset 256 6d9efbef00a9
parent 251 1c52a0eeb952
--- a/vendor/github.com/pelletier/go-toml/keysparsing.go	Mon Jun 07 20:58:18 2021 +0200
+++ b/vendor/github.com/pelletier/go-toml/keysparsing.go	Sun Jul 11 10:35:56 2021 +0200
@@ -5,7 +5,6 @@
 import (
 	"errors"
 	"fmt"
-	"unicode"
 )
 
 // Convert the bare key group string to an array.
@@ -109,5 +108,5 @@
 }
 
 func isValidBareChar(r rune) bool {
-	return isAlphanumeric(r) || r == '-' || unicode.IsNumber(r)
+	return isAlphanumeric(r) || r == '-' || isDigit(r)
 }