type regexp.Regexp
134 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#L82: type Regexp struct {
regexp.go#L105: func (re *Regexp) String() string {
regexp.go#L117: func (re *Regexp) Copy() *Regexp {
regexp.go#L132: func Compile(expr string) (*Regexp, error) {
regexp.go#L155: func CompilePOSIX(expr string) (*Regexp, error) {
regexp.go#L165: func (re *Regexp) Longest() {
regexp.go#L169: func compile(expr string, mode syntax.Flags, longest bool) (*Regexp, error) {
regexp.go#L186: regexp := &Regexp{
regexp.go#L234: func (re *Regexp) get() *machine {
regexp.go#L262: func (re *Regexp) put(m *machine) {
regexp.go#L308: func MustCompile(str string) *Regexp {
regexp.go#L319: func MustCompilePOSIX(str string) *Regexp {
regexp.go#L335: func (re *Regexp) NumSubexp() int {
regexp.go#L344: func (re *Regexp) SubexpNames() []string {
regexp.go#L355: func (re *Regexp) SubexpIndex(name string) int {
regexp.go#L373: hasPrefix(re *Regexp) bool
regexp.go#L374: index(re *Regexp, pos int) int
regexp.go#L398: func (i *inputString) hasPrefix(re *Regexp) bool {
regexp.go#L402: func (i *inputString) index(re *Regexp, pos int) int {
regexp.go#L445: func (i *inputBytes) hasPrefix(re *Regexp) bool {
regexp.go#L449: func (i *inputBytes) index(re *Regexp, pos int) int {
regexp.go#L497: func (i *inputReader) hasPrefix(re *Regexp) bool {
regexp.go#L501: func (i *inputReader) index(re *Regexp, pos int) int {
regexp.go#L512: func (re *Regexp) LiteralPrefix() (prefix string, complete bool) {
regexp.go#L518: func (re *Regexp) MatchReader(r io.RuneReader) bool {
regexp.go#L524: func (re *Regexp) MatchString(s string) bool {
regexp.go#L530: func (re *Regexp) Match(b []byte) bool {
regexp.go#L570: func (re *Regexp) ReplaceAllString(src, repl string) string {
regexp.go#L584: func (re *Regexp) ReplaceAllLiteralString(src, repl string) string {
regexp.go#L594: func (re *Regexp) ReplaceAllStringFunc(src string, repl func(string) string) string {
regexp.go#L601: func (re *Regexp) replaceAll(bsrc []byte, src string, nmatch int, repl func(dst []byte, m []int) []byte) []byte {
regexp.go#L669: func (re *Regexp) ReplaceAll(src, repl []byte) []byte {
regexp.go#L687: func (re *Regexp) ReplaceAllLiteral(src, repl []byte) []byte {
regexp.go#L697: func (re *Regexp) ReplaceAllFunc(src []byte, repl func([]byte) []byte) []byte {
regexp.go#L752: func (re *Regexp) pad(a []int) []int {
regexp.go#L767: func (re *Regexp) allMatches(s string, b []byte, n int, deliver func([]int)) {
regexp.go#L815: func (re *Regexp) Find(b []byte) []byte {
regexp.go#L828: func (re *Regexp) FindIndex(b []byte) (loc []int) {
regexp.go#L841: func (re *Regexp) FindString(s string) string {
regexp.go#L854: func (re *Regexp) FindStringIndex(s string) (loc []int) {
regexp.go#L867: func (re *Regexp) FindReaderIndex(r io.RuneReader) (loc []int) {
regexp.go#L880: func (re *Regexp) FindSubmatch(b []byte) [][]byte {
regexp.go#L912: func (re *Regexp) Expand(dst []byte, template []byte, src []byte, match []int) []byte {
regexp.go#L919: func (re *Regexp) ExpandString(dst []byte, template string, src string, match []int) []byte {
regexp.go#L923: func (re *Regexp) expand(dst []byte, template string, bsrc []byte, src string, match []int) []byte {
regexp.go#L1028: func (re *Regexp) FindSubmatchIndex(b []byte) []int {
regexp.go#L1037: func (re *Regexp) FindStringSubmatch(s string) []string {
regexp.go#L1057: func (re *Regexp) FindStringSubmatchIndex(s string) []int {
regexp.go#L1066: func (re *Regexp) FindReaderSubmatchIndex(r io.RuneReader) []int {
regexp.go#L1076: func (re *Regexp) FindAll(b []byte, n int) [][]byte {
regexp.go#L1094: func (re *Regexp) FindAllIndex(b []byte, n int) [][]int {
regexp.go#L1112: func (re *Regexp) FindAllString(s string, n int) []string {
regexp.go#L1130: func (re *Regexp) FindAllStringIndex(s string, n int) [][]int {
regexp.go#L1148: func (re *Regexp) FindAllSubmatch(b []byte, n int) [][][]byte {
regexp.go#L1172: func (re *Regexp) FindAllSubmatchIndex(b []byte, n int) [][]int {
regexp.go#L1190: func (re *Regexp) FindAllStringSubmatch(s string, n int) [][]string {
regexp.go#L1215: func (re *Regexp) FindAllStringSubmatchIndex(s string, n int) [][]int {
regexp.go#L1244: func (re *Regexp) Split(s string, n int) []string {
github.com/andybalholm/cascadia
parser.go#L215: func (p *parser) parseRegex() (rx *regexp.Regexp, err error) {
parser.go#L389: var rx *regexp.Regexp
selector.go#L217: regexp *regexp.Regexp
selector.go#L344: func attributeRegexMatch(key string, rx *regexp.Regexp, n *html.Node) bool {
selector.go#L441: regexp *regexp.Regexp
github.com/aws/aws-sdk-go/aws/endpoints
defaults.go#L101: Regexp: func() *regexp.Regexp {
defaults.go#L6626: Regexp: func() *regexp.Regexp {
defaults.go#L7411: Regexp: func() *regexp.Regexp {
defaults.go#L9009: Regexp: func() *regexp.Regexp {
defaults.go#L9394: Regexp: func() *regexp.Regexp {
v3model.go#L148: *regexp.Regexp
github.com/evanw/esbuild/internal/config
config.go#L347: var filterCache map[string]*regexp.Regexp
config.go#L349: func compileFilter(filter string) (result *regexp.Regexp) {
config.go#L378: filterCache = make(map[string]*regexp.Regexp)
config.go#L384: func CompileFilterForPlugin(pluginName string, kind string, filter string) (*regexp.Regexp, error) {
config.go#L397: func PluginAppliesToPath(path logger.Path, filter *regexp.Regexp, namespace string) bool {
config.go#L412: Filter *regexp.Regexp
config.go#L438: Filter *regexp.Regexp
github.com/evanw/esbuild/internal/resolver
resolver.go#L627: sideEffectsRegexps []*regexp.Regexp
github.com/go-git/go-git/v5
options.go#L508: Patterns []*regexp.Regexp
options.go#L516: PathSpecs []*regexp.Regexp
github.com/go-git/go-git/v5/internal/revision
parser.go#L46: Regexp *regexp.Regexp
parser.go#L82: Regexp *regexp.Regexp
github.com/google/pprof/profile
filter.go#L24: func (p *Profile) FilterSamplesByName(focus, ignore, hide, show *regexp.Regexp) (fm, im, hm, hnm bool) {
filter.go#L87: func (p *Profile) ShowFrom(showFrom *regexp.Regexp) (matched bool) {
filter.go#L118: func filterShowFromLocation(loc *Location, showFrom *regexp.Regexp) bool {
filter.go#L131: func (loc *Location) lastMatchedLineIndex(re *regexp.Regexp) int {
filter.go#L144: func (p *Profile) FilterTagsByName(show, hide *regexp.Regexp) (sm, hm bool) {
filter.go#L175: func (loc *Location) matchesName(re *regexp.Regexp) bool {
filter.go#L191: func (loc *Location) unmatchedLines(re *regexp.Regexp) []Line {
filter.go#L209: func (loc *Location) matchedLines(re *regexp.Regexp) []Line {
prune.go#L27: bracketRx = func() *regexp.Regexp {
prune.go#L61: func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
prune.go#L122: var keep, drop *regexp.Regexp
prune.go#L151: func (p *Profile) PruneFrom(dropRx *regexp.Regexp) {
github.com/google/safehtml
style.go#L269: func filter(value string, pattern *regexp.Regexp) string {
github.com/kevinburke/ssh_config
config.go#L306: regex *regexp.Regexp
github.com/microcosm-cc/bluemonday
policy.go#L103: regexp *regexp.Regexp
policy.go#L110: regexp *regexp.Regexp
policy.go#L208: func (abp *attrPolicyBuilder) Matching(regex *regexp.Regexp) *attrPolicyBuilder {
github.com/yuin/goldmark/extension
linkify.go#L22: URLRegexp *regexp.Regexp
linkify.go#L23: WWWRegexp *regexp.Regexp
linkify.go#L24: EmailRegexp *regexp.Regexp
linkify.go#L40: c.URLRegexp = value.(*regexp.Regexp)
linkify.go#L42: c.WWWRegexp = value.(*regexp.Regexp)
linkify.go#L44: c.EmailRegexp = value.(*regexp.Regexp)
linkify.go#L76: value *regexp.Regexp
linkify.go#L89: func WithLinkifyURLRegexp(value *regexp.Regexp) LinkifyOption {
linkify.go#L99: value *regexp.Regexp
linkify.go#L110: func WithLinkifyWWWRegexp(value *regexp.Regexp) LinkifyOption {
linkify.go#L119: value *regexp.Regexp
linkify.go#L130: func WithLinkifyEmailRegexp(value *regexp.Regexp) LinkifyOption {
github.com/yuin/goldmark/parser
raw_html.go#L59: func (s *rawHTMLParser) parseSingleLineRegexp(reg *regexp.Regexp, block text.Reader, pc Context) ast.Node {
raw_html.go#L71: func (s *rawHTMLParser) parseMultiLineRegexp(reg *regexp.Regexp, block text.Reader, pc Context) ast.Node {
github.com/yuin/goldmark/text
reader.go#L69: Match(reg *regexp.Regexp) bool
reader.go#L72: FindSubMatch(reg *regexp.Regexp) [][]byte
reader.go#L238: func (r *reader) Match(reg *regexp.Regexp) bool {
reader.go#L242: func (r *reader) FindSubMatch(reg *regexp.Regexp) [][]byte {
reader.go#L456: func (r *blockReader) Match(reg *regexp.Regexp) bool {
reader.go#L460: func (r *blockReader) FindSubMatch(reg *regexp.Regexp) [][]byte {
reader.go#L498: func matchReader(r Reader, reg *regexp.Regexp) bool {
reader.go#L509: func findSubMatchReader(r Reader, reg *regexp.Regexp) [][]byte {
golang.org/x/mod/internal/lazyregexp
lazyre.go#L21: rx *regexp.Regexp
lazyre.go#L24: func (r *Regexp) re() *regexp.Regexp {
golang.org/x/pkgsite/internal/source
source.go#L438: fileRegexp *regexp.Regexp
source.go#L549: re *regexp.Regexp
internal/lazyregexp
lazyre.go#L21: rx *regexp.Regexp
lazyre.go#L24: func (r *Regexp) re() *regexp.Regexp {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |