diff --git a/cli/handler.go b/cli/handler.go index 3c53e7e8..09843b17 100644 --- a/cli/handler.go +++ b/cli/handler.go @@ -56,7 +56,7 @@ func (self *Handler) getParser() Parser { return CompleteParser{parsers} } -// Split on spaces but ignore spaces inside <...> and [...] +// SplitPattern splits on spaces but ignore spaces inside <...> and [...] func (self *Handler) SplitPattern() []string { re := regexp.MustCompile(`(<[^>]+>|\[[^\]]+]|\S+)`) matches := []string{}