go/src/regexp/find_test.go

type FindTest

func (t FindTest) String() string {}

var findTests

// build is a helper to construct a [][]int by extracting n sequences from x.
// This represents n matches with len(x)/n submatches each.
func build(n int, x ...int) [][]int {}

func TestFind(t *testing.T) {}

func TestFindString(t *testing.T) {}

func testFindIndex(test *FindTest, result []int, t *testing.T) {}

func TestFindIndex(t *testing.T) {}

func TestFindStringIndex(t *testing.T) {}

func TestFindReaderIndex(t *testing.T) {}

func TestFindAll(t *testing.T) {}

func TestFindAllString(t *testing.T) {}

func testFindAllIndex(test *FindTest, result [][]int, t *testing.T) {}

func TestFindAllIndex(t *testing.T) {}

func TestFindAllStringIndex(t *testing.T) {}

func testSubmatchBytes(test *FindTest, n int, submatches []int, result [][]byte, t *testing.T) {}

func TestFindSubmatch(t *testing.T) {}

func testSubmatchString(test *FindTest, n int, submatches []int, result []string, t *testing.T) {}

func TestFindStringSubmatch(t *testing.T) {}

func testSubmatchIndices(test *FindTest, n int, expect, result []int, t *testing.T) {}

func testFindSubmatchIndex(test *FindTest, result []int, t *testing.T) {}

func TestFindSubmatchIndex(t *testing.T) {}

func TestFindStringSubmatchIndex(t *testing.T) {}

func TestFindReaderSubmatchIndex(t *testing.T) {}

func TestFindAllSubmatch(t *testing.T) {}

func TestFindAllStringSubmatch(t *testing.T) {}

func testFindAllSubmatchIndex(test *FindTest, result [][]int, t *testing.T) {}

func TestFindAllSubmatchIndex(t *testing.T) {}

func TestFindAllStringSubmatchIndex(t *testing.T) {}