Merge pull request #14 from KimiWu123/master

follow whitespace rule of strings.TrimSpace
This commit is contained in:
arnau
2019-10-31 11:39:20 +01:00
committed by GitHub

View File

@@ -32,7 +32,7 @@ const (
var eof = rune(0)
func isWhitespace(ch rune) bool {
return ch == ' ' || ch == '\t' || ch == '\n'
return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r' || ch == '\v' || ch == '\f'
}
func isLetter(ch rune) bool {