pat/app/utils.go

14 lines
292 B
Go
Raw Permalink Normal View History

// Copyright 2016 Martin Hebnes Pedersen (LA5NTA). All rights reserved.
// Use of this source code is governed by the MIT-license that can be
// found in the LICENSE file.
package app
2021-06-18 10:44:05 -06:00
import (
"unicode"
)
func SplitFunc(c rune) bool {
2017-03-23 21:03:27 +01:00
return unicode.IsSpace(c) || c == ',' || c == ';'
}