go/src/regexp/all_test.go

var goodRe

type stringError

var badRe

func compileTest(t *testing.T, expr string, error string) *Regexp {}

func TestGoodCompile(t *testing.T) {}

func TestBadCompile(t *testing.T) {}

func matchTest(t *testing.T, test *FindTest) {}

func TestMatch(t *testing.T) {}

func matchFunctionTest(t *testing.T, test *FindTest) {}

func TestMatchFunction(t *testing.T) {}

func copyMatchTest(t *testing.T, test *FindTest) {}

func TestCopyMatch(t *testing.T) {}

type ReplaceTest

var replaceTests

var replaceLiteralTests

type ReplaceFuncTest

var replaceFuncTests

func TestReplaceAll(t *testing.T) {}

func TestReplaceAllLiteral(t *testing.T) {}

func TestReplaceAllFunc(t *testing.T) {}

type MetaTest

var metaTests

var literalPrefixTests

func TestQuoteMeta(t *testing.T) {}

func TestLiteralPrefix(t *testing.T) {}

type subexpIndex

type subexpCase

var emptySubexpIndices

var subexpCases

func TestSubexp(t *testing.T) {}

var splitTests

func TestSplit(t *testing.T) {}

// The following sequence of Match calls used to panic. See issue #12980.
func TestParseAndCompile(t *testing.T) {}

// Check that one-pass cutoff does trigger.
func TestOnePassCutoff(t *testing.T) {}

// Check that the same machine can be used with the standard matcher
// and then the backtracker when there are no captures.
func TestSwitchBacktrack(t *testing.T) {}

func BenchmarkFind(b *testing.B) {}

func BenchmarkFindAllNoMatches(b *testing.B) {}

func BenchmarkFindString(b *testing.B) {}

func BenchmarkFindSubmatch(b *testing.B) {}

func BenchmarkFindStringSubmatch(b *testing.B) {}

func BenchmarkLiteral(b *testing.B) {}

func BenchmarkNotLiteral(b *testing.B) {}

func BenchmarkMatchClass(b *testing.B) {}

func BenchmarkMatchClass_InRange(b *testing.B) {}

func BenchmarkReplaceAll(b *testing.B) {}

func BenchmarkAnchoredLiteralShortNonMatch(b *testing.B) {}

func BenchmarkAnchoredLiteralLongNonMatch(b *testing.B) {}

func BenchmarkAnchoredShortMatch(b *testing.B) {}

func BenchmarkAnchoredLongMatch(b *testing.B) {}

func BenchmarkOnePassShortA(b *testing.B) {}

func BenchmarkNotOnePassShortA(b *testing.B) {}

func BenchmarkOnePassShortB(b *testing.B) {}

func BenchmarkNotOnePassShortB(b *testing.B) {}

func BenchmarkOnePassLongPrefix(b *testing.B) {}

func BenchmarkOnePassLongNotPrefix(b *testing.B) {}

func BenchmarkMatchParallelShared(b *testing.B) {}

func BenchmarkMatchParallelCopied(b *testing.B) {}

var sink

func BenchmarkQuoteMetaAll(b *testing.B) {}

func BenchmarkQuoteMetaNone(b *testing.B) {}

var compileBenchData

func BenchmarkCompile(b *testing.B) {}

func TestDeepEqual(t *testing.T) {}

var minInputLenTests

func TestMinInputLen(t *testing.T) {}

func TestUnmarshalText(t *testing.T) {}