Documentation ¶
Index ¶
- type Regexp
- func (this *Regexp) FindStringSubmatch(s string) []string
- func (this *Regexp) IdString() string
- func (this *Regexp) IsCaseInsensitive() bool
- func (this *Regexp) Keywords() []string
- func (this *Regexp) Match(s []byte) bool
- func (this *Regexp) MatchString(s string) bool
- func (this *Regexp) ParseKeywords(exp string) (keywords []string)
- func (this *Regexp) Raw() *regexp.Regexp
- type RuneMap
- type RuneTree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Regexp ¶
type Regexp struct {
// contains filtered or unexported fields
}
func MustCompile ¶
func (*Regexp) FindStringSubmatch ¶ added in v0.4.9
func (*Regexp) IsCaseInsensitive ¶
func (*Regexp) MatchString ¶
func (*Regexp) ParseKeywords ¶
ParseKeywords 提取表达式中的关键词
type RuneMap ¶
func NewRuneTree ¶
Click to show internal directories.
Click to hide internal directories.