Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for metacharacter (0.25 sec)

  1. src/cmd/go/testdata/script/env_write.txt

    ! go env -w GO111MODULE=badvalue
    stderr 'invalid GO111MODULE value "badvalue"'
    
    # go env -w rejects invalid GOPATH values
    ! go env -w GOPATH=~/go
    stderr 'GOPATH entry cannot start with shell metacharacter'
    
    ! go env -w GOPATH=./go
    stderr 'GOPATH entry is relative; must be absolute path'
    
    # go env -w rejects invalid GOTMPDIR values
    ! go env -w GOTMPDIR=x
    stderr 'go: GOTMPDIR must be an absolute path'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. gradlew

    #   set -- "${ARGS[@]}" "$@"
    #
    # but POSIX shell has neither arrays nor command substitution, so instead we
    # post-process each arg (as a line of input to sed) to backslash-escape any
    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    #   set -- "\${ARGS[@]}" "\$@"
    #
    # but POSIX shell has neither arrays nor command substitution, so instead we
    # post-process each arg (as a line of input to sed) to backslash-escape any
    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/cmd/go/main.go

    			// or C:\PROGRA~1. Only ~ as a path prefix has meaning to the shell.
    			if strings.HasPrefix(p, "~") {
    				fmt.Fprintf(os.Stderr, "go: GOPATH entry cannot start with shell metacharacter '~': %q\n", p)
    				os.Exit(2)
    			}
    			if !filepath.IsAbs(p) {
    				if cfg.Getenv("GOPATH") == "" {
    					// We inferred $GOPATH from $HOME and did a bad job at it.
    					// Instead of dying, uninfer it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/cmd/go/internal/envcmd/env.go

    		case "", "auto", "on", "off":
    		default:
    			return fmt.Errorf("invalid %s value %q", key, val)
    		}
    	case "GOPATH":
    		if strings.HasPrefix(val, "~") {
    			return fmt.Errorf("GOPATH entry cannot start with shell metacharacter '~': %q", val)
    		}
    		if !filepath.IsAbs(val) && val != "" {
    			return fmt.Errorf("GOPATH entry is relative; must be absolute path: %q", val)
    		}
    	case "GOMODCACHE":
    		if !filepath.IsAbs(val) && val != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    	if in == nil || in.MatchType == nil {
    		return true
    	}
    
    	catchall := false
    
    	switch m := in.MatchType.(type) {
    	case *networking.StringMatch_Regex:
    		// `*` is NOT a RE2 style regex, it's a metacharacter.
    		// It will be translated as present_match, rather than matching "any string".
    		// see https://github.com/istio/istio/pull/20629
    		catchall = m.Regex == "*"
    	}
    
    	return catchall
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/UnixStartScriptGeneratorTest.groovy

            then:
            destination.toString().contains(/DEFAULT_JVM_OPTS='"-Dfoo=b'"'"'ar baz" "-Xi'"'"''"'"'n'"`"'t"'/)
        }
    
        def "defaultJvmOpts is expanded properly in unix script -- backslashes and shell metacharacters"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(['-Dfoo=b\\ar baz', '-Xint$PATH'], 'bin')
            Writer destination = new StringWriter()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/WindowsStartScriptGeneratorTest.groovy

            then:
            destination.toString().contains(/set DEFAULT_JVM_OPTS="-Dfoo=b\"ar baz" "-Xi\"\"nt" "-Xpatho\\\"logical"/)
        }
    
        def "defaultJvmOpts is expanded properly in windows script -- backslashes and shell metacharacters"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(['-Dfoo=b\\ar baz', '-Xint%PATH%'], 'bin')
            Writer destination = new StringWriter()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            assertEquals("2012-05-18T22:44:00Z", extractData.getValues("dcterms:modified")[0]);
            assertEquals("3", extractData.getValues("meta:character-count")[0]);
            assertEquals("じょうたい", extractData.getValues("cp:contentStatus")[0]);
            assertEquals("3", extractData.getValues("meta:character-count-with-spaces")[0]);
            assertEquals("たいとる", extractData.getValues("dc:title")[0]);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. src/regexp/regexp.go

    		specialBytes[b%16] |= 1 << (b / 16)
    	}
    }
    
    // QuoteMeta returns a string that escapes all regular expression metacharacters
    // inside the argument text; the returned string is a regular expression matching
    // the literal text.
    func QuoteMeta(s string) string {
    	// A byte loop is correct because all metacharacters are ASCII.
    	var i int
    	for i = 0; i < len(s); i++ {
    		if special(s[i]) {
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top