Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 388 for perl (0.07 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. hack/update-translations.sh

      echo "Extracting strings to POT"
      # shellcheck disable=SC2046
      go-xgettext -k=i18n.T $(grep -lr "i18n.T" "${KUBECTL_FILES[@]}" | grep -vE "${KUBECTL_IGNORE_FILES_REGEX}") > tmp.pot
      perl -pi -e 's/CHARSET/UTF-8/' tmp.pot
      perl -pi -e 's/\\(?!n"\n|")/\\\\/g' tmp.pot
      kube::util::ensure-temp-dir
      if msgcat -s tmp.pot > "${KUBE_TEMP}/template.pot"; then
        mv "${KUBE_TEMP}/template.pot" "${TRANSLATIONS}/kubectl/template.pot"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 03:48:42 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/crypto/internal/boring/build-boring.sh

    export CGO_ENABLED=0
    
    # Modify the support code crypto/mem.c (outside the FIPS module)
    # to not try to use weak symbols, because they don't work with some
    # Go toolchain / clang toolchain combinations.
    perl -p -i -e 's/defined.*ELF.*defined.*GNUC.*/$0 \&\& !defined(GOBORING)/' boringssl/crypto/mem.c
    
    # Verbatim instructions from BoringCrypto build docs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 21:28:09 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top