Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindSubmatch (0.1 sec)

  1. misc/go_android_exec/main.go

    }
    
    func (f *exitCodeFilter) Finish() (int, error) {
    	// f.buf could be empty, contain a partial match of exitRe, or
    	// contain a full match.
    	b := f.buf.Bytes()
    	defer f.buf.Reset()
    	match := f.exitRe.FindSubmatch(b)
    	if len(match) < 2 || match[1] == nil {
    		// Not a full match. Flush.
    		if _, err := f.w.Write(b); err != nil {
    			return 0, err
    		}
    		return 0, fmt.Errorf("no exit code (in %q)", string(b))
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg regexp, method (*Regexp) FindStringIndex(string) []int
    pkg regexp, method (*Regexp) FindStringSubmatch(string) []string
    pkg regexp, method (*Regexp) FindStringSubmatchIndex(string) []int
    pkg regexp, method (*Regexp) FindSubmatch([]uint8) [][]uint8
    pkg regexp, method (*Regexp) FindSubmatchIndex([]uint8) []int
    pkg regexp, method (*Regexp) LiteralPrefix() (string, bool)
    pkg regexp, method (*Regexp) Match([]uint8) bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top