Documentation ¶
Overview ¶
Package regexp implements some utilitily function for access regexp group values via index or name
Index: 0 1 2 3 Name: "" "name1" "name2" "name3" FirstMatch []string{"THe Whold Matched String", "Other", "SubMatched", "String"} AllMatch []FirstMatch{}
Index ¶
- type Regexp
- func (r *Regexp) All(s string) [][]string
- func (r *Regexp) AllByIndex(s string, index int) []string
- func (r *Regexp) AllByName(s, name string) []string
- func (r *Regexp) ByIndex(s string, index int) string
- func (r *Regexp) ByName(s, name string) string
- func (r *Regexp) First(s string) []string
- func (r *Regexp) Names() map[string]int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.