Versions in this module Expand all Collapse all v0 v0.2.3 Feb 8, 2018 Changes in this version + type PrefixAny struct + Prefix string + Separators []rune + func NewPrefixAny(s string, sep []rune) PrefixAny + func (self PrefixAny) Index(s string) (int, []int) + func (self PrefixAny) Len() int + func (self PrefixAny) Match(s string) bool + func (self PrefixAny) String() string + type SuffixAny struct + Separators []rune + Suffix string + func NewSuffixAny(s string, sep []rune) SuffixAny + func (self SuffixAny) Index(s string) (int, []int) + func (self SuffixAny) Len() int + func (self SuffixAny) Match(s string) bool + func (self SuffixAny) String() string v0.2.2 Dec 7, 2016 v0.2.1 Oct 22, 2016 Changes in this version + type Any struct + Separators []rune + func NewAny(s []rune) Any + func (self Any) Index(s string) (int, []int) + func (self Any) Len() int + func (self Any) Match(s string) bool + func (self Any) String() string + type AnyOf struct + Matchers Matchers + func NewAnyOf(m ...Matcher) AnyOf + func (self *AnyOf) Add(m Matcher) error + func (self AnyOf) Index(s string) (int, []int) + func (self AnyOf) Len() (l int) + func (self AnyOf) Match(s string) bool + func (self AnyOf) String() string + type BTree struct + Left Matcher + LeftLengthRunes int + LengthRunes int + Right Matcher + RightLengthRunes int + Value Matcher + ValueLengthRunes int + func NewBTree(Value, Left, Right Matcher) (tree BTree) + func (self BTree) Index(s string) (int, []int) + func (self BTree) Len() int + func (self BTree) Match(s string) bool + func (self BTree) String() string + type Contains struct + Needle string + Not bool + func NewContains(needle string, not bool) Contains + func (self Contains) Index(s string) (int, []int) + func (self Contains) Len() int + func (self Contains) Match(s string) bool + func (self Contains) String() string + type EveryOf struct + Matchers Matchers + func NewEveryOf(m ...Matcher) EveryOf + func (self *EveryOf) Add(m Matcher) error + func (self EveryOf) Index(s string) (int, []int) + func (self EveryOf) Len() (l int) + func (self EveryOf) Match(s string) bool + func (self EveryOf) String() string + type List struct + List []rune + Not bool + func NewList(list []rune, not bool) List + func (self List) Index(s string) (int, []int) + func (self List) Len() int + func (self List) Match(s string) bool + func (self List) String() string + type Matcher interface + Index func(string) (int, []int) + Len func() int + Match func(string) bool + String func() string + type Matchers []Matcher + func (m Matchers) String() string + type Max struct + Limit int + func NewMax(l int) Max + func (self Max) Index(s string) (int, []int) + func (self Max) Len() int + func (self Max) Match(s string) bool + func (self Max) String() string + type Min struct + Limit int + func NewMin(l int) Min + func (self Min) Index(s string) (int, []int) + func (self Min) Len() int + func (self Min) Match(s string) bool + func (self Min) String() string + type Nothing struct + func NewNothing() Nothing + func (self Nothing) Index(s string) (int, []int) + func (self Nothing) Len() int + func (self Nothing) Match(s string) bool + func (self Nothing) String() string + type Prefix struct + Prefix string + func NewPrefix(p string) Prefix + func (self Prefix) Index(s string) (int, []int) + func (self Prefix) Len() int + func (self Prefix) Match(s string) bool + func (self Prefix) String() string + type PrefixSuffix struct + Prefix string + Suffix string + func NewPrefixSuffix(p, s string) PrefixSuffix + func (self PrefixSuffix) Index(s string) (int, []int) + func (self PrefixSuffix) Len() int + func (self PrefixSuffix) Match(s string) bool + func (self PrefixSuffix) String() string + type Range struct + Hi rune + Lo rune + Not bool + func NewRange(lo, hi rune, not bool) Range + func (self Range) Index(s string) (int, []int) + func (self Range) Len() int + func (self Range) Match(s string) bool + func (self Range) String() string + type Row struct + Matchers Matchers + RunesLength int + Segments []int + func NewRow(len int, m ...Matcher) Row + func (self Row) Index(s string) (int, []int) + func (self Row) Len() (l int) + func (self Row) Match(s string) bool + func (self Row) String() string + type Single struct + Separators []rune + func NewSingle(s []rune) Single + func (self Single) Index(s string) (int, []int) + func (self Single) Len() int + func (self Single) Match(s string) bool + func (self Single) String() string + type SomePool interface + Get func() []int + Put func([]int) + type Suffix struct + Suffix string + func NewSuffix(s string) Suffix + func (self Suffix) Index(s string) (int, []int) + func (self Suffix) Len() int + func (self Suffix) Match(s string) bool + func (self Suffix) String() string + type Super struct + func NewSuper() Super + func (self Super) Index(s string) (int, []int) + func (self Super) Len() int + func (self Super) Match(s string) bool + func (self Super) String() string + type Text struct + BytesLength int + RunesLength int + Segments []int + Str string + func NewText(s string) Text + func (self Text) Index(s string) (int, []int) + func (self Text) Len() int + func (self Text) Match(s string) bool + func (self Text) String() string