type regexp.Regexp
68 uses
regexp (current package)
backtrack.go#L131: func (b *bitState) push(re *Regexp, pc uint32, pos int, arg bool) {
backtrack.go#L140: func (re *Regexp) tryBacktrack(b *bitState, i input, pc uint32, pos int) bool {
backtrack.go#L307: func (re *Regexp) backtrack(ib []byte, is string, pos int, ncap int, dstCap []int) []int {
exec.go#L39: re *Regexp // corresponding Regexp
exec.go#L397: func (re *Regexp) doOnePass(ir io.RuneReader, ib []byte, is string, pos, ncap int, dstCap []int) []int {
exec.go#L513: func (re *Regexp) doMatch(r io.RuneReader, b []byte, s string) bool {
exec.go#L521: func (re *Regexp) doExecute(r io.RuneReader, b []byte, s string, pos int, ncap int, dstCap []int) []int {
regexp.go#L86: type Regexp struct {
regexp.go#L109: func (re *Regexp) String() string {
regexp.go#L121: func (re *Regexp) Copy() *Regexp {
regexp.go#L136: func Compile(expr string) (*Regexp, error) {
regexp.go#L159: func CompilePOSIX(expr string) (*Regexp, error) {
regexp.go#L169: func (re *Regexp) Longest() {
regexp.go#L173: func compile(expr string, mode syntax.Flags, longest bool) (*Regexp, error) {
regexp.go#L190: regexp := &Regexp{
regexp.go#L238: func (re *Regexp) get() *machine {
regexp.go#L266: func (re *Regexp) put(m *machine) {
regexp.go#L316: func MustCompile(str string) *Regexp {
regexp.go#L327: func MustCompilePOSIX(str string) *Regexp {
regexp.go#L343: func (re *Regexp) NumSubexp() int {
regexp.go#L352: func (re *Regexp) SubexpNames() []string {
regexp.go#L363: func (re *Regexp) SubexpIndex(name string) int {
regexp.go#L381: hasPrefix(re *Regexp) bool
regexp.go#L382: index(re *Regexp, pos int) int
regexp.go#L406: func (i *inputString) hasPrefix(re *Regexp) bool {
regexp.go#L410: func (i *inputString) index(re *Regexp, pos int) int {
regexp.go#L453: func (i *inputBytes) hasPrefix(re *Regexp) bool {
regexp.go#L457: func (i *inputBytes) index(re *Regexp, pos int) int {
regexp.go#L505: func (i *inputReader) hasPrefix(re *Regexp) bool {
regexp.go#L509: func (i *inputReader) index(re *Regexp, pos int) int {
regexp.go#L520: func (re *Regexp) LiteralPrefix() (prefix string, complete bool) {
regexp.go#L526: func (re *Regexp) MatchReader(r io.RuneReader) bool {
regexp.go#L532: func (re *Regexp) MatchString(s string) bool {
regexp.go#L538: func (re *Regexp) Match(b []byte) bool {
regexp.go#L578: func (re *Regexp) ReplaceAllString(src, repl string) string {
regexp.go#L592: func (re *Regexp) ReplaceAllLiteralString(src, repl string) string {
regexp.go#L602: func (re *Regexp) ReplaceAllStringFunc(src string, repl func(string) string) string {
regexp.go#L609: func (re *Regexp) replaceAll(bsrc []byte, src string, nmatch int, repl func(dst []byte, m []int) []byte) []byte {
regexp.go#L677: func (re *Regexp) ReplaceAll(src, repl []byte) []byte {
regexp.go#L695: func (re *Regexp) ReplaceAllLiteral(src, repl []byte) []byte {
regexp.go#L705: func (re *Regexp) ReplaceAllFunc(src []byte, repl func([]byte) []byte) []byte {
regexp.go#L760: func (re *Regexp) pad(a []int) []int {
regexp.go#L775: func (re *Regexp) allMatches(s string, b []byte, n int, deliver func([]int)) {
regexp.go#L824: func (re *Regexp) Find(b []byte) []byte {
regexp.go#L837: func (re *Regexp) FindIndex(b []byte) (loc []int) {
regexp.go#L850: func (re *Regexp) FindString(s string) string {
regexp.go#L863: func (re *Regexp) FindStringIndex(s string) (loc []int) {
regexp.go#L876: func (re *Regexp) FindReaderIndex(r io.RuneReader) (loc []int) {
regexp.go#L889: func (re *Regexp) FindSubmatch(b []byte) [][]byte {
regexp.go#L921: func (re *Regexp) Expand(dst []byte, template []byte, src []byte, match []int) []byte {
regexp.go#L928: func (re *Regexp) ExpandString(dst []byte, template string, src string, match []int) []byte {
regexp.go#L932: func (re *Regexp) expand(dst []byte, template string, bsrc []byte, src string, match []int) []byte {
regexp.go#L1035: func (re *Regexp) FindSubmatchIndex(b []byte) []int {
regexp.go#L1044: func (re *Regexp) FindStringSubmatch(s string) []string {
regexp.go#L1064: func (re *Regexp) FindStringSubmatchIndex(s string) []int {
regexp.go#L1073: func (re *Regexp) FindReaderSubmatchIndex(r io.RuneReader) []int {
regexp.go#L1083: func (re *Regexp) FindAll(b []byte, n int) [][]byte {
regexp.go#L1101: func (re *Regexp) FindAllIndex(b []byte, n int) [][]int {
regexp.go#L1119: func (re *Regexp) FindAllString(s string, n int) []string {
regexp.go#L1137: func (re *Regexp) FindAllStringIndex(s string, n int) [][]int {
regexp.go#L1155: func (re *Regexp) FindAllSubmatch(b []byte, n int) [][][]byte {
regexp.go#L1179: func (re *Regexp) FindAllSubmatchIndex(b []byte, n int) [][]int {
regexp.go#L1197: func (re *Regexp) FindAllStringSubmatch(s string, n int) [][]string {
regexp.go#L1222: func (re *Regexp) FindAllStringSubmatchIndex(s string, n int) [][]int {
regexp.go#L1253: func (re *Regexp) Split(s string, n int) []string {
regexp.go#L1293: func (re *Regexp) MarshalText() ([]byte, error) {
regexp.go#L1299: func (re *Regexp) UnmarshalText(text []byte) error {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |