Documentation ¶
Index ¶
Constants ¶
View Source
const ( NON = iota AND )
View Source
const ( DFA = 0 ASSEMBLE = 1 REGEXP = 2 )
Variables ¶
This section is empty.
Functions ¶
func NewRegRule ¶
func TrimString ¶
TrimString returns s without leading and trailing ASCII space.
Types ¶
type AssembleMather ¶
type AssembleMather struct {
// contains filtered or unexported fields
}
func NewAssembleMather ¶
func NewAssembleMather() *AssembleMather
func (*AssembleMather) Build ¶
func (a *AssembleMather) Build(words []string)
type DFAMatcher ¶
type DFAMatcher struct {
// contains filtered or unexported fields
}
func NewDFAMather ¶
func NewDFAMather() *DFAMatcher
type MatchService ¶
type MatchService struct {
// contains filtered or unexported fields
}
func NewMatchService ¶
func NewMatchService() *MatchService
type RegexpMather ¶
type RegexpMather struct {
// contains filtered or unexported fields
}
func NewRegexpMatcher ¶
func NewRegexpMatcher() *RegexpMather
func (*RegexpMather) Build ¶
func (a *RegexpMather) Build(words []string)
Click to show internal directories.
Click to hide internal directories.