regex

package
v2.3.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2018 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	// contains filtered or unexported fields
}

func (*Match) Group

func (m *Match) Group(n int) string

type Pattern

type Pattern struct {
	// contains filtered or unexported fields
}

func Compile

func Compile(rule string) (*Pattern, error)

func MustCompile

func MustCompile(rule string) *Pattern

func (*Pattern) Match

func (p *Pattern) Match(value string) *Match

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL