- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 201 for submatch (0.21 sec)
-
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) -
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) -
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) -
src/cmd/compile/internal/ssa/debug_lines_test.go
"path/filepath" "reflect" "regexp" "runtime" "sort" "strconv" "strings" "testing" ) // Matches lines in genssa output that are marked "isstmt", and the parenthesized plus-prefixed line number is a submatch var asmLine *regexp.Regexp = regexp.MustCompile(`^\s[vb]\d+\s+\d+\s\(\+(\d+)\)`) // this matches e.g. ` v123456789 000007 (+9876654310) MOVUPS X15, ""..autotmp_2-32(SP)`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:24:52 UTC 2023 - 8.4K bytes - Viewed (0) -
src/regexp/backtrack.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // backtrack is a regular expression search with submatch // tracking for small regular expressions and texts. It allocates // a bit vector with (length of input) * (length of prog) bits, // to make sure it never explores the same (character position, instruction)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 17:25:39 UTC 2023 - 8.8K bytes - Viewed (0) -
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) -
src/cmd/covdata/tool_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
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) -
pkg/volume/util/subpath/subpath_windows.go
} // Lock all directories in subPath and check they're not symlinks. func (sp *subpath) PrepareSafeSubpath(subPath Subpath) (newHostPath string, cleanupAction func(), err error) { handles, err := lockAndCheckSubPath(subPath.VolumePath, subPath.Path) // Unlock the directories when the container starts cleanupAction = func() { unlockPath(handles) } return subPath.Path, cleanupAction, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0) -
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)