Versions in this module Expand all Collapse all v0 v0.2.0 Dec 12, 2020 v0.1.0 Dec 11, 2020 Changes in this version + type Capture struct + IsMatch bool + Offsets strutils.ByteOffsets + type FuncSplitPattern struct + func FromFunc(f func(rune) bool) *FuncSplitPattern + func (sp *FuncSplitPattern) FindMatches(s string) ([]Capture, error) + type InvertedPattern struct + func Invert(sp SplitPattern) *InvertedPattern + func (ip *InvertedPattern) FindMatches(s string) ([]Capture, error) + type Regexp2SplitPattern struct + func FromRegexp2(r *regexp2.Regexp) *Regexp2SplitPattern + func (sp *Regexp2SplitPattern) FindMatches(s string) ([]Capture, error) + type RegexpSplitPattern struct + func FromRegexp(r *regexp.Regexp) *RegexpSplitPattern + func (sp *RegexpSplitPattern) FindMatches(s string) ([]Capture, error) + type RuneSplitPattern struct + func FromRune(r rune) *RuneSplitPattern + func (sp *RuneSplitPattern) FindMatches(s string) ([]Capture, error) + type SplitPattern interface + FindMatches func(string) ([]Capture, error) + type StringSplitPattern struct + func FromString(s string) *StringSplitPattern + func (sp *StringSplitPattern) FindMatches(s string) ([]Capture, error)