commit | 0c3a17bfc1aeeca237a267e95e987b5b1a6339e3 | [log] [tgz] |
---|---|---|
author | Jeff <leterip@me.com> | Mon Sep 28 16:40:00 2015 |
committer | Jeff <leterip@me.com> | Mon Sep 28 16:40:00 2015 |
tree | 3c0b448c8fb68d0bf8dca63a45a5a525c1026d5b | |
parent | a0e3ea0de8603e1ed5afdedf6ab4ab564a4a880f [diff] |
Allow periods in tags
diff --git a/tag.go b/tag.go index bbb3068..0382276 100644 --- a/tag.go +++ b/tag.go
@@ -43,7 +43,7 @@ return false } for _, c := range key { - if c != ' ' && c != '$' && c != '-' && c != '_' && !unicode.IsLetter(c) && !unicode.IsDigit(c) { + if c != ' ' && c != '$' && c != '-' && c != '_' && c != '.' && !unicode.IsLetter(c) && !unicode.IsDigit(c) { return false } }