Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for perl (0.17 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/regexp/onepass_test.go

    }
    
    func TestCompileOnePass(t *testing.T) {
    	var (
    		p   *syntax.Prog
    		re  *syntax.Regexp
    		err error
    	)
    	for _, test := range onePassTests {
    		if re, err = syntax.Parse(test.re, syntax.Perl); err != nil {
    			t.Errorf("Parse(%q) got err:%s, want success", test.re, err)
    			continue
    		}
    		// needs to be done before compile...
    		re = re.Simplify()
    		if p, err = syntax.Compile(re); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/regexp/all_test.go

    func TestParseAndCompile(t *testing.T) {
    	expr := "a$"
    	s := "a\nb"
    
    	for i, tc := range []struct {
    		reFlags  syntax.Flags
    		expMatch bool
    	}{
    		{syntax.Perl | syntax.OneLine, false},
    		{syntax.Perl &^ syntax.OneLine, true},
    	} {
    		parsed, err := syntax.Parse(expr, tc.reFlags)
    		if err != nil {
    			t.Fatalf("%d: parse: %v", i, err)
    		}
    		re, err := Compile(parsed.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. src/crypto/md5/md5block_386.s

    // Original source:
    //	http://www.zorinaq.com/papers/md5-amd64.html
    //	http://www.zorinaq.com/papers/md5-amd64.tar.bz2
    //
    // Translated from Perl generating GNU assembly into
    // #defines generating 8a assembly, and adjusted for 386,
    // by the Go Authors.
    
    //go:build !purego
    
    #include "textflag.h"
    
    // MD5 optimized for AMD64.
    //
    // Author: Marc Bevand <bevand_m (at) epita.fr>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/crypto/md5/md5block_amd64.s

    // Original source:
    //	http://www.zorinaq.com/papers/md5-amd64.html
    //	http://www.zorinaq.com/papers/md5-amd64.tar.bz2
    //
    // Translated from Perl generating GNU assembly into
    // #defines generating 6a assembly by the Go Authors.
    
    //go:build !purego
    
    #include "textflag.h"
    
    // MD5 optimized for AMD64.
    //
    // Author: Marc Bevand <bevand_m (at) epita.fr>
    // Licence: I hereby disclaim the copyright on this code and place it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top