Versions in this module Expand all Collapse all v0 v0.0.3 Aug 16, 2025 Changes in this version type Filter + PreferLongestNonOverlapping bool v0.0.2 Aug 8, 2025 Changes in this version type Result + Matches []Match v0.0.1 Aug 8, 2025 Changes in this version + var DefaultFilter = Filter + type Filter struct + ExactLength int + MaxLength int + MinLength int + type Match struct + EndPos int + StartPos int + Word string + type Result struct + AllMatches []Match + UniqueWords []string + WordCount int + type Searcher struct + func NewSearcher(filter Filter) *Searcher + func (s *Searcher) Find(text string) Result + func (s *Searcher) GetWordCount() int + func (s *Searcher) GetWords() []string