Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for metacharacter (0.19 sec)

  1. android/guava/src/com/google/common/html/HtmlEscapers.java

     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class HtmlEscapers {
      /**
       * Returns an {@link Escaper} instance that escapes HTML metacharacters as specified by <a
       * href="http://www.w3.org/TR/html4/">HTML 4.01</a>. The resulting strings can be used both in
       * attribute values and in most elements' text contents, provided that the HTML
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 14 22:08:54 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/go/internal/str/path.go

    func WithFilePathSeparator(s string) string {
    	if s == "" || os.IsPathSeparator(s[len(s)-1]) {
    		return s
    	}
    	return s + string(filepath.Separator)
    }
    
    // QuoteGlob returns s with all Glob metacharacters quoted.
    // We don't try to handle backslash here, as that can appear in a
    // file path on Windows.
    func QuoteGlob(s string) string {
    	if !strings.ContainsAny(s, `*?[]`) {
    		return s
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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