Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 325 for perl (0.04 sec)

  1. src/regexp/syntax/make_perl_groups.pl

    #!/usr/bin/perl
    # Copyright 2008 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.
    
    # Modified version of RE2's make_perl_groups.pl.
    
    # Generate table entries giving character ranges
    # for POSIX/Perl character classes.  Rather than
    # figure out what the definition is, it is easier to ask
    # Perl about each letter from 0-128 and write down
    # its answer.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/regexp/syntax/doc.go

    Parts of the syntax can be disabled by passing alternate flags to [Parse].
    
    Single characters:
    
    	.              any character, possibly including newline (flag s=true)
    	[xyz]          character class
    	[^xyz]         negated character class
    	\d             Perl character class
    	\D             negated Perl character class
    	[[:alpha:]]    ASCII character class
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:21:02 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse_test.go

    		if re, err := Parse(regexp, Perl); err == nil {
    			t.Errorf("Parse(%#q, Perl) = %s, should have failed", regexp, dump(re))
    		}
    		if re, err := Parse(regexp, POSIX); err == nil {
    			t.Errorf("Parse(%#q, POSIX) = %s, should have failed", regexp, dump(re))
    		}
    	}
    	for _, regexp := range onlyPerl {
    		if _, err := Parse(regexp, Perl); err != nil {
    			t.Errorf("Parse(%#q, Perl): %v", regexp, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/job.yaml.injected

            service.istio.io/canonical-name: pi
            service.istio.io/canonical-revision: latest
          name: pi
        spec:
          containers:
          - command:
            - perl
            - -Mbignum=bpi
            - -wle
            - print bpi(2000)
            image: perl
            name: pi
            resources: {}
          - args:
            - proxy
            - sidecar
            - --domain
            - $(POD_NAMESPACE).svc.cluster.local
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/regexp/syntax/simplify_test.go

    	{`[[:lower:]]`, `[a-z]`},
    	{`[[:print:]]`, `[ -~]`},
    	{`[[:punct:]]`, "[!-/:-@\\[-`\\{-~]"},
    	{`[[:space:]]`, `[\t-\r ]`},
    	{`[[:upper:]]`, `[A-Z]`},
    	{`[[:xdigit:]]`, `[0-9A-Fa-f]`},
    
    	// Perl character classes
    	{`\d`, `[0-9]`},
    	{`\s`, `[\t\n\f\r ]`},
    	{`\w`, `[0-9A-Z_a-z]`},
    	{`\D`, `[^0-9]`},
    	{`\S`, `[^\t\n\f\r ]`},
    	{`\W`, `[^0-9A-Z_a-z]`},
    	{`[\d]`, `[0-9]`},
    	{`[\s]`, `[\t\n\f\r ]`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/regexp/syntax/parse.go

    	PerlX                           // allow Perl extensions
    	UnicodeGroups                   // allow \p{Han}, \P{Han} for Unicode group and negation
    	WasDollar                       // regexp OpEndText was $, not \z
    	Simple                          // regexp contains no counted repetition
    
    	MatchNL = ClassNL | DotNL
    
    	Perl        = ClassNL | OneLine | PerlX | UnicodeGroups // as close to Perl as possible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/PatternCompiler.java

          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
      /**
       * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting
       * possessive quantifiers but also being susceptible to catastrophic backtracking.
       */
      @RestrictedApi(
          explanation = "PatternCompiler is an implementation detail of com.google.common.base",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/PatternCompiler.java

          allowedOnPath = ".*/com/google/common/base/.*")
      CommonPattern compile(String pattern);
    
      /**
       * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting
       * possessive quantifiers but also being susceptible to catastrophic backtracking.
       */
      @RestrictedApi(
          explanation = "PatternCompiler is an implementation detail of com.google.common.base",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. buildscripts/checkdeps.sh

    		exit 1
    	fi
    }
    
    assert_check_deps() {
    	# support unusual Git versions such as: 2.7.4 (Apple Git-66)
    	installed_git_version=$(git version | perl -ne '$_ =~ m/git version (.*?)( |$)/; print "$1\n";')
    	if ! check_minimum_version "${GIT_VERSION}" "${installed_git_version}"; then
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/net/http/cgi/cgi_main.go

    	case "/bar", "/test.cgi", "/myscript/bar", "/test.cgi/extrapath":
    		testCGI()
    		return
    	}
    	childCGIProcess()
    }
    
    // testCGI is a CGI program translated from a Perl program to complete host_test.
    // test cases in host_test should be provided by testCGI.
    func testCGI() {
    	req, err := Request()
    	if err != nil {
    		panic(err)
    	}
    
    	err = req.ParseForm()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top