Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Punct (0.05 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    		`[[:punct:]]pod(?P<poduid>[[:xdigit:]]{8}[[:punct:]]?[[:xdigit:]]{4}[[:punct:]]?[[:xdigit:]]{4}[[:punct:]]?[[:xdigit:]]{4}[[:punct:]]?[[:xdigit:]]{12})[[:punct:]]` +
    		// zero or more punctuation separated "segments" (e.g. "docker-")
    		`(?:[[:^punct:]]+[[:punct:]])*` +
    		// non-punctuation end of string, i.e., the container ID
    		`(?P<containerid>[[:^punct:]]+)$`),
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/regexp/syntax/perl_groups.go

    	`[:graph:]`:   {+1, code10},
    	`[:^graph:]`:  {-1, code10},
    	`[:lower:]`:   {+1, code11},
    	`[:^lower:]`:  {-1, code11},
    	`[:print:]`:   {+1, code12},
    	`[:^print:]`:  {-1, code12},
    	`[:punct:]`:   {+1, code13},
    	`[:^punct:]`:  {-1, code13},
    	`[:space:]`:   {+1, code14},
    	`[:^space:]`:  {-1, code14},
    	`[:upper:]`:   {+1, code15},
    	`[:^upper:]`:  {-1, code15},
    	`[:word:]`:    {+1, code16},
    	`[:^word:]`:   {-1, code16},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/unicode/example_test.go

    		}
    		if unicode.IsPrint(c) {
    			fmt.Println("\tis printable rune")
    		}
    		if !unicode.IsPrint(c) {
    			fmt.Println("\tis not printable rune")
    		}
    		if unicode.IsPunct(c) {
    			fmt.Println("\tis punct rune")
    		}
    		if unicode.IsSpace(c) {
    			fmt.Println("\tis space rune")
    		}
    		if unicode.IsSymbol(c) {
    			fmt.Println("\tis symbol rune")
    		}
    		if unicode.IsTitle(c) {
    			fmt.Println("\tis title case rune")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/util/NameMatcher.java

                return matches.first();
            }
    
            return null;
        }
    
        private static Pattern getPatternForName(String name) {
            Pattern boundaryPattern = Pattern.compile("((^|\\p{Punct})\\p{javaLowerCase}+)|(\\p{javaUpperCase}\\p{javaLowerCase}*)");
            Matcher matcher = boundaryPattern.matcher(name);
            int pos = 0;
            StringBuilder builder = new StringBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:48:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/util/internal/NameMatcher.java

                return matches.first();
            }
    
            return null;
        }
    
        private static Pattern getPatternForName(String name) {
            Pattern boundaryPattern = Pattern.compile("((^|\\p{Punct})\\p{javaLowerCase}+)|(\\p{javaUpperCase}\\p{javaLowerCase}*)");
            Matcher matcher = boundaryPattern.matcher(name);
            int pos = 0;
            StringBuilder builder = new StringBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/regexp/syntax/make_perl_groups.pl

    use strict;
    use warnings;
    
    my @posixclasses = (
    	"[:alnum:]",
    	"[:alpha:]",
    	"[:ascii:]",
    	"[:blank:]",
    	"[:cntrl:]",
    	"[:digit:]",
    	"[:graph:]",
    	"[:lower:]",
    	"[:print:]",
    	"[:punct:]",
    	"[:space:]",
    	"[:upper:]",
    	"[:word:]",
    	"[:xdigit:]",
    );
    
    my @perlclasses = (
    	"\\d",
    	"\\s",
    	"\\w",
    );
    
    my %overrides = (
    	# Prior to Perl 5.18, \s did not match vertical tab.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/unicode/graphic_test.go

    		if got != want {
    			t.Errorf("%U incorrect: got %t; want %t", i, got, want)
    		}
    	}
    }
    
    func TestIsPunctLatin1(t *testing.T) {
    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsPunct(i)
    		want := Is(Punct, i)
    		if got != want {
    			t.Errorf("%U incorrect: got %t; want %t", i, got, want)
    		}
    	}
    }
    
    func TestIsSpaceLatin1(t *testing.T) {
    	for i := rune(0); i <= MaxLatin1; i++ {
    		got := IsSpace(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.6K bytes
    - Viewed (0)
  8. src/regexp/syntax/simplify_test.go

    	{`[[:alpha:]]`, `[A-Za-z]`},
    	{`[[:blank:]]`, `[\t ]`},
    	{`[[:cntrl:]]`, `[\x00-\x1f\x7f]`},
    	{`[[:digit:]]`, `[0-9]`},
    	{`[[:graph:]]`, `[!-~]`},
    	{`[[: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]`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/unicode/graphic.go

    }
    
    // IsPunct reports whether the rune is a Unicode punctuation character
    // (category [P]).
    func IsPunct(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pP != 0
    	}
    	return Is(Punct, r)
    }
    
    // IsSpace reports whether the rune is a space character as defined
    // by Unicode's White Space property; in the Latin-1 space
    // this is
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. src/regexp/syntax/doc.go

    	[[:digit:]]    digits (== [0-9])
    	[[:graph:]]    graphical (== [!-~] == [A-Za-z0-9!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])
    	[[:lower:]]    lower case (== [a-z])
    	[[:print:]]    printable (== [ -~] == [ [:graph:]])
    	[[:punct:]]    punctuation (== [!-/:-@[-`{-~])
    	[[:space:]]    whitespace (== [\t\n\v\f\r ])
    	[[:upper:]]    upper case (== [A-Z])
    	[[:word:]]     word characters (== [0-9A-Za-z_])
    	[[:xdigit:]]   hex digit (== [0-9A-Fa-f])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:21:02 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top