Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for submatch (0.15 sec)

  1. src/regexp/syntax/doc.go

    Unlimited repetitions are not subject to this restriction.
    
    Grouping:
    
    	(re)           numbered capturing group (submatch)
    	(?P<name>re)   named & numbered capturing group (submatch)
    	(?<name>re)    named & numbered capturing group (submatch)
    	(?:re)         non-capturing group
    	(?flags)       set flags within current group; non-capturing
    	(?flags:re)    set flags during re; non-capturing
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:21:02 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/regexp/regexp.go

    // parenthesis. Submatch 0 is the match of the entire expression, submatch 1 is
    // the match of the first parenthesized subexpression, and so on.
    //
    // If 'Index' is present, matches and submatches are identified by byte index
    // pairs within the input string: result[2*n:2*n+2] identifies the indexes of
    // the nth submatch. The pair for n==0 identifies the match of the entire
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  3. pilot/pkg/model/virtualservice.go

    	// otherwise it conflicts
    	for _, subMatch := range delegate {
    		foundMatch := false
    		for _, rootMatch := range root {
    			if hasConflict(rootMatch, subMatch) {
    				log.Warnf("HTTPMatchRequests conflict: root %v, delegate %v", rootMatch, subMatch)
    				continue
    			}
    			// merge HTTPMatchRequest
    			out = append(out, mergeHTTPMatchRequest(rootMatch, subMatch))
    			foundMatch = true
    		}
    		if !foundMatch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/regexp/exec_test.go

    // gives the semicolon-separated match results of running
    // the regexp on the corresponding string.
    // Each match result is either a single -, meaning no match, or a
    // space-separated sequence of pairs giving the match and
    // submatch indices. An unmatched subexpression formats
    // its pair as a single - (not illustrated above).  For now
    // each regexp run produces two match results, one for a
    // “full match” that restricts the regexp to matching the entire
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. src/cmd/covdata/tool_test.go

    					bad = true
    
    				}
    				if check.nonzero || check.zero {
    					if len(m) < 2 {
    						t.Errorf("tag %s: submatch failed (short m)", check.tag)
    						bad = true
    						continue
    					}
    					if m[1] == "" {
    						t.Errorf("tag %s: submatch failed", check.tag)
    						bad = true
    						continue
    					}
    					i, err := strconv.Atoi(m[1])
    					if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. pkg/kubelet/server/auth_test.go

    		"subpath of root 2": {subpath: "/foo/", path: "/", expected: true},
    		"subpath of root 3": {subpath: "/foo/bar", path: "/", expected: true},
    
    		"subpath of path 1": {subpath: "/foo", path: "/foo", expected: true},
    		"subpath of path 2": {subpath: "/foo/", path: "/foo", expected: true},
    		"subpath of path 3": {subpath: "/foo/bar", path: "/foo", expected: true},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_linux_test.go

    			expectedErrMsg: "error SubPath `/must/not/be/absolute` must not be an absolute path",
    		},
    		"invalid SubPath with backsteps": {
    			podVolumes: kubecontainer.VolumeMap{
    				"disk": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "/mnt/disk"}},
    			},
    			container: v1.Container{
    				VolumeMounts: []v1.VolumeMount{
    					{
    						MountPath: "/mnt/path3",
    						SubPath:   "no/backsteps/../allowed",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 18:00:59 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    					// which lacks the M method.
    					//
    					// With tilde, it is clearer that the containment is via an
    					// approximation element.
    					subpath[len(subpath)-1] = "~" + subpath[len(subpath)-1]
    				}
    				return append(subpath, typ.String())
    			}
    		}
    		return nil
    	}
    
    	for {
    		atyp, ok := typ.Underlying().(*types.Array)
    		if !ok {
    			break
    		}
    		typ = atyp.Elem()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. helm/minio/templates/statefulset.yaml

                  mountPath: {{ $mountPath }}-{{ $i }}
                  {{- if and $penabled $subPath }}
                  subPath: {{ $subPath }}
                  {{- end }}
                {{- end }}
                {{- else }}
                - name: export
                  mountPath: {{ $mountPath }}
                  {{- if and $penabled $subPath }}
                  subPath: {{ $subPath }}
                  {{- end }}
                {{- end }}
                {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. pkg/kubelet/server/auth.go

    }
    
    type nodeAuthorizerAttributesGetter struct {
    	nodeName types.NodeName
    }
    
    func isSubpath(subpath, path string) bool {
    	path = strings.TrimSuffix(path, "/")
    	return subpath == path || (strings.HasPrefix(subpath, path) && subpath[len(path)] == '/')
    }
    
    // GetRequestAttributes populates authorizer attributes for the requests to the kubelet API.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top