Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runPartial (2.9 sec)

  1. src/regexp/exec_test.go

    }
    
    var run = []func(*Regexp, *Regexp, string) ([]int, string){
    	runFull,
    	runPartial,
    	runFullLongest,
    	runPartialLongest,
    }
    
    func runFull(re, refull *Regexp, text string) ([]int, string) {
    	refull.longest = false
    	return refull.FindStringSubmatchIndex(text), "[full]"
    }
    
    func runPartial(re, refull *Regexp, text string) ([]int, string) {
    	re.longest = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top