Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FindAllStringSubmatch (0.27 sec)

  1. misc/linkcheck/linkcheck.go

    	fragExists  = make(map[urlFrag]bool)
    	problems    []string
    )
    
    func localLinks(body string) (links []string) {
    	seen := map[string]bool{}
    	mv := aRx.FindAllStringSubmatch(body, -1)
    	for _, m := range mv {
    		ref := m[1]
    		if strings.HasPrefix(ref, "/src/") {
    			continue
    		}
    		if !seen[ref] {
    			seen[ref] = true
    			links = append(links, m[1])
    		}
    	}
    	return
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    // TargetReplicationStatus - returns replication status of a target
    func (ri ReplicateObjectInfo) TargetReplicationStatus(arn string) (status replication.StatusType) {
    	repStatMatches := replStatusRegex.FindAllStringSubmatch(ri.ReplicationStatusInternal, -1)
    	for _, repStatMatch := range repStatMatches {
    		if len(repStatMatch) != 3 {
    			return
    		}
    		if repStatMatch[1] == arn {
    			return replication.StatusType(repStatMatch[2])
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    	for _, line := range lines {
    		lineno++
    
    		fileline := fmt.Sprintf("%s:%d", input, lineno)
    		if m := errRE.FindStringSubmatch(line); m != nil {
    			all := m[1]
    			mm := errQuotesRE.FindAllStringSubmatch(all, -1)
    			if len(mm) != 1 {
    				t.Errorf("%s: invalid errorcheck line:\n%s", fileline, line)
    			} else if err := errors[fileline]; err == "" {
    				t.Errorf("%s: missing error, want %s", fileline, all)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  4. migrator/migrator.go

    				alterColumn = true
    			} else {
    				// has size in data type and not equal
    				// Since the following code is frequently called in the for loop, reg optimization is needed here
    				matches2 := regFullDataType.FindAllStringSubmatch(fullDataType, -1)
    				if !field.PrimaryKey &&
    					(len(matches2) == 1 && matches2[0][1] != fmt.Sprint(length) && ok) {
    					alterColumn = true
    				}
    			}
    		}
    
    		// check precision
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    		// 5 - number sequence for drives
    		// 6 - drive suffix
    		re = regexp.MustCompile(`([^\s^{]*)({\d+...\d+})?([^\s^{^/]*)(/[^\s^{]*)({\d+...\d+})?([^\s]*)`)
    		poolsMatches := re.FindAllStringSubmatch(poolsArgs, -1)
    
    		anonPools = make([]string, len(poolsMatches))
    		idxMap := map[int]string{
    			1: "spfx",
    			3: "ssfx",
    		}
    		for pi, poolsMatch := range poolsMatches {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. api/go1.txt

    pkg regexp, method (*Regexp) FindAllString(string, int) []string
    pkg regexp, method (*Regexp) FindAllStringIndex(string, int) [][]int
    pkg regexp, method (*Regexp) FindAllStringSubmatch(string, int) [][]string
    pkg regexp, method (*Regexp) FindAllStringSubmatchIndex(string, int) [][]int
    pkg regexp, method (*Regexp) FindAllSubmatch([]uint8, int) [][][]uint8
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top