Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FindReaderIndex (0.19 sec)

  1. src/regexp/regexp.go

    		return nil
    	}
    	return a[0:2]
    }
    
    // FindReaderIndex returns a two-element slice of integers defining the
    // location of the leftmost match of the regular expression in text read from
    // the [io.RuneReader]. The match text was found in the input stream at
    // byte offset loc[0] through loc[1]-1.
    // A return value of nil indicates no match.
    func (re *Regexp) FindReaderIndex(r io.RuneReader) (loc []int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/regexp/find_test.go

    		testFindIndex(&test, MustCompile(test.pat).FindStringIndex(test.text), t)
    	}
    }
    
    func TestFindReaderIndex(t *testing.T) {
    	for _, test := range findTests {
    		testFindIndex(&test, MustCompile(test.pat).FindReaderIndex(strings.NewReader(test.text)), t)
    	}
    }
    
    // Now come the simple All cases.
    
    func TestFindAll(t *testing.T) {
    	for _, test := range findTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Regexp).FindAllStringSubmatchIndex", Method, 0},
    		{"(*Regexp).FindAllSubmatch", Method, 0},
    		{"(*Regexp).FindAllSubmatchIndex", Method, 0},
    		{"(*Regexp).FindIndex", Method, 0},
    		{"(*Regexp).FindReaderIndex", Method, 0},
    		{"(*Regexp).FindReaderSubmatchIndex", Method, 0},
    		{"(*Regexp).FindString", Method, 0},
    		{"(*Regexp).FindStringIndex", Method, 0},
    		{"(*Regexp).FindStringSubmatch", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg regexp, method (*Regexp) FindAllSubmatch([]uint8, int) [][][]uint8
    pkg regexp, method (*Regexp) FindAllSubmatchIndex([]uint8, int) [][]int
    pkg regexp, method (*Regexp) FindIndex([]uint8) []int
    pkg regexp, method (*Regexp) FindReaderIndex(io.RuneReader) []int
    pkg regexp, method (*Regexp) FindReaderSubmatchIndex(io.RuneReader) []int
    pkg regexp, method (*Regexp) FindString(string) string
    pkg regexp, method (*Regexp) FindStringIndex(string) []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top