Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 314 for regexec (0.1 sec)

  1. operator/pkg/compare/compare.go

    	}
    	return aosm, nil
    }
    
    // buildResourceRegexp translates the resource indicator to regexp.
    func buildResourceRegexp(s string) (*regexp.Regexp, error) {
    	hash := strings.Split(s, ":")
    	for i, v := range hash {
    		if v == "" || v == "*" {
    			hash[i] = ".*"
    		}
    	}
    	return regexp.Compile(strings.Join(hash, ":"))
    }
    
    // manifestDiff an internal function to compare the manifests difference specified in the input.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/index/suffixarray/suffixarray.go

    // or if n == 0.
    func (x *Index) FindAllIndex(r *regexp.Regexp, n int) (result [][]int) {
    	// a non-empty literal prefix is used to determine possible
    	// match start indices with Lookup
    	prefix, complete := r.LiteralPrefix()
    	lit := []byte(prefix)
    
    	// worst-case scenario: no literal prefix
    	if prefix == "" {
    		return r.FindAllIndex(x.data, n)
    	}
    
    	// if regexp is a literal just use Lookup and convert its
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exentity;
    
    import java.util.function.BiFunction;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.es.config.bsentity.BsPathMapping;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.rule.impl;
    
    import java.util.HashMap;
    import java.util.Map;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.beans.util.CopyOptions;
    import org.codelibs.fess.crawler.entity.ResponseData;
    
    /**
     * @author shinsuke
     *
     */
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pilot/pkg/security/authz/builder/testdata/http/extended-single-policy-out.yaml

                    - authenticated:
                        principalName:
                          safeRegex:
                            regex: .*/ns/rule[0]-from[0]-ns[1]/.*
                    - authenticated:
                        principalName:
                          safeRegex:
                            regex: .*/ns/rule[0]-from[0]-ns[2]/.*
                - orIds:
                    ids:
                    - remoteIp:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. fastapi/param_functions.py

            ),
        ] = None,
        pattern: Annotated[
            Optional[str],
            Doc(
                """
                RegEx pattern for strings.
                """
            ),
        ] = None,
        regex: Annotated[
            Optional[str],
            Doc(
                """
                RegEx pattern for strings.
                """
            ),
            deprecated(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  7. pkg/util/iptables/testing/parse.go

    	// appear in iptables-save output but it could appear in iptables-restore *input*.
    	Deleted bool
    }
    
    var declareTableRegex = regexp.MustCompile(`^\*(.*)$`)
    var declareChainRegex = regexp.MustCompile(`^:([^ ]*) - \[([0-9]*):([0-9]*)\]$`)
    var addRuleRegex = regexp.MustCompile(`^-A ([^ ]*) (.*)$`)
    var deleteChainRegex = regexp.MustCompile(`^-X (.*)$`)
    
    type parseState int
    
    const (
    	parseTableDeclaration parseState = iota
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/testing/helper_test.go

    // Copyright 2017 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.
    
    package testing_test
    
    import (
    	"internal/testenv"
    	"os"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestTBHelper(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		testTestHelper(t)
    
    		// Check that calling Helper from inside a top-level test function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. internal/handlers/proxy.go

    	// comma, semi-colon or space. The match is case-insensitive.
    	forRegex = regexp.MustCompile(`(?i)(?:for=)([^(;|,| )]+)(.*)`)
    	// Allows for a sub-match for the first instance of scheme (http|https)
    	// prefixed by 'proto='. The match is case-insensitive.
    	protoRegex = regexp.MustCompile(`(?i)^(;|,| )+(?:proto=)(https|http)`)
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb_unix_test.go

    	// 3. A frame before the signal handler: this could be foo, or somewhere in the scheduler
    
    	re := regexp.MustCompile(`#.* runtime\.sigtramp `)
    	if found := re.Find(got) != nil; !found {
    		t.Fatalf("could not find sigtramp in backtrace")
    	}
    
    	re = regexp.MustCompile("#.* <signal handler called>")
    	loc := re.FindIndex(got)
    	if loc == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top