Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for backslashes (0.24 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    	}
    
    	return
    }
    
    const (
    	// Regexp to match a single opcode check: optionally begin with "-" (to indicate
    	// a negative check), followed by a string literal enclosed in "" or ``. For "",
    	// backslashes must be handled.
    	reMatchCheck = `-?(?:\x60[^\x60]*\x60|"(?:[^"\\]|\\.)*")`
    )
    
    var (
    	// Regexp to split a line in code and comment, trimming spaces
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

         */
    
        public String getPath () {
            return this.fileLocator.getPath();
        }
    
    
        /**
         * Returns the Windows UNC style path with backslashes instead of forward slashes.
         *
         * @return The UNC path.
         */
        public String getCanonicalUncPath () {
            return this.fileLocator.getCanonicalURL();
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            run 'copy'
    
            then:
            executedAndNotSkipped(':copy')
            file('dest/a.txt').text == "1 + 2"
        }
    
        def "can expand tokens with escaped backslash when copying"() {
            file('files/a.txt').text = "\$one\\n\${two}"
            buildScript """
                task copy(type: Copy) {
                    from 'files'
                    into 'dest'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  4. src/os/os_test.go

    	}
    	if _, err := rdfs.ReadDir("nonexistent"); err == nil {
    		t.Error("fs.ReadDir of nonexistent directory succeeded")
    	}
    
    	// Test that the error message does not contain a backslash,
    	// and does not contain the DirFS argument.
    	const nonesuch = "dir/nonesuch"
    	_, err := fsys.Open(nonesuch)
    	if err == nil {
    		t.Error("fs.Open of nonexistent file succeeded")
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  5. src/regexp/syntax/parse.go

    	ErrMissingParen          ErrorCode = "missing closing )"
    	ErrMissingRepeatArgument ErrorCode = "missing argument to repetition operator"
    	ErrTrailingBackslash     ErrorCode = "trailing backslash at end of expression"
    	ErrUnexpectedParen       ErrorCode = "unexpected )"
    	ErrNestingDepth          ErrorCode = "expression nests too deeply"
    	ErrLarge                 ErrorCode = "expression too large"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/go/build/build.go

    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    // For example, the following string:
    //
    //	a b:"c d" 'e''f'  "g\""
    //
    // Would be parsed as:
    //
    //	[]string{"a", "b:c d", "ef", `g"`}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    The first is a minor inconvenience, but slashy strings have the advantage that you don't have to escape backslash ('\') characters in the regular expression.
    The second issue stems from Groovy's support for embedded expressions using `${ }` syntax in double-quoted and slashy strings.
    --
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  8. src/cmd/go/go_test.go

    		t.Skipf("%s --atleast-pkgconfig-version 0.24: %v\n%s", pkgConfig, err, out)
    	}
    
    	// OpenBSD's pkg-config is strict about whitespace and only
    	// supports backslash-escaped whitespace. It does not support
    	// quotes, which the normal freedesktop.org pkg-config does
    	// support. See https://man.openbsd.org/pkg-config.1
    	tg.tempFile("foo.pc", `
    Name: foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    // quoted region, and are removed from the resulting substrings. If a quote in s
    // isn't closed err will be set and r will have the unclosed argument as the
    // last element. The backslash is used for escaping.
    //
    // For example, the following string:
    //
    //	`a b:"c d" 'e''f'  "g\""`
    //
    // Would be parsed as:
    //
    //	[]string{"a", "b:c d", "ef", `g"`}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top