Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for regexes (0.18 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. .cm/plugins/filters/byCodeowner/ignore/index.js

    }
    
    const EMPTY = ''
    const SPACE = ' '
    const ESCAPE = '\\'
    const REGEX_TEST_BLANK_LINE = /^\s+$/
    const REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/
    const REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/
    const REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/
    const REGEX_SPLITALL_CRLF = /\r?\n/g
    // /foo,
    // ./foo,
    // ../foo,
    // .
    // ..
    const REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/
    
    const SLASH = '/'
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        private static final Logger logger = LogManager.getLogger(GsaConfigParser.class);
    
        public static final String REGEXP = "regexp:";
    
        public static final String REGEXP_CASE = "regexpCase:";
    
        public static final String REGEXP_IGNORE_CASE = "regexpIgnoreCase:";
    
        public static final String CONTAINS = "contains:";
    
        protected static final String COLLECTIONS = "collections";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. operator/cmd/mesh/test-util_test.go

    func (o *ObjectSet) size() int {
    	return len(o.keySlice)
    }
    
    // nameMatches returns a subset of o where objects names match the given regex.
    func (o *ObjectSet) nameMatches(nameRegex string) *ObjectSet {
    	ret := &ObjectSet{}
    	for k, v := range o.objMap {
    		_, _, objName := object.FromHash(k)
    		m, err := regexp.MatchString(nameRegex, objName)
    		if err != nil {
    			log.Error(err.Error())
    			continue
    		}
    		if m {
    			ret.append(v)
    		}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. common/config/.golangci.yml

      exclude:
        - composite literal uses unkeyed fields
      # Which dirs to exclude: issues from them won't be reported.
      # Can use regexp here: `generated.*`, regexp is applied on full path,
      # including the path prefix if one is set.
      # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
      # "/" will be replaced by current OS file path separator to properly work on Windows.
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. .idea/inspectionProfiles/Gradle.xml

            <constraint name="sep" nameOfExprType="String" exprTypeWithinHierarchy="true" within="" contains="" />
            <constraint name="callJoin" regexp="join" within="" contains="" />
            <constraint name="callCollect" regexp="collect" within="" contains="" />
            <constraint name="transform" within="" contains="" />
          </replaceConfiguration>
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            if (p.startsWith(GsaConfigParser.REGEXP)) {
                return p.substring(GsaConfigParser.REGEXP.length());
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP_CASE)) {
                return p.substring(GsaConfigParser.REGEXP_CASE.length());
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP_IGNORE_CASE)) {
                return "(?i)" + p.substring(GsaConfigParser.REGEXP_IGNORE_CASE.length());
            }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  8. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial003.py!}
    ```
    
    ## Ajouter des validations par expressions régulières
    
    On peut définir une <abbr title="Une expression régulière, regex ou regexp est une suite de caractères qui définit un pattern de correspondance pour les chaînes de caractères.">expression régulière</abbr> à laquelle le paramètre doit correspondre :
    
    ```Python hl_lines="10"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  9. tests/table_test.go

    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    	sql := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=8,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    
    	stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageUint64(10241024)}).Statement
    	sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=10241024,`).MatchString(sql) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top