From a0a7d5cdbb092d421bdb0b7bce82a93fe350af5b Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Tue, 5 Sep 2023 13:43:22 +0200 Subject: [PATCH] Fix bug in checkDefinedNames --- table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.go b/table.go index ae4fc78..a93ca8f 100644 --- a/table.go +++ b/table.go @@ -289,7 +289,7 @@ func checkDefinedName(name string) error { if unicode.IsLetter(c) { continue } - if i > 0 && unicode.IsDigit(c) { + if i > 0 && (unicode.IsDigit(c) || c == '.') { continue } return newInvalidNameError(name)