I'm not sure that this is correct
(r rune)
| 47 | |
| 48 | // I'm not sure that this is correct |
| 49 | func isKeyChar(r rune) bool { |
| 50 | // Keys start with the first character that isn't whitespace or [ and end |
| 51 | // with the last non-whitespace character before the equals sign. Keys |
| 52 | // cannot contain a # character." |
| 53 | return !(r == '\r' || r == '\n' || r == eof || r == '=') |
| 54 | } |