- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for IsPunct (0.11 sec)
-
src/unicode/graphic.go
func IsNumber(r rune) bool { if uint32(r) <= MaxLatin1 { return properties[uint8(r)]&pN != 0 } return isExcludingLatin(Number, r) } // 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) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 4.4K bytes - Viewed (0) -
src/unicode/example_test.go
fmt.Println("\tis number rune") } 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) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 08 00:18:29 UTC 2021 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/build/relnote/links.go
}, true } // isLinkAdjacentRune reports whether r can be adjacent to a symbol link. // The logic is the same as the go/doc/comment package. func isLinkAdjacentRune(r rune) bool { return unicode.IsPunct(r) || r == ' ' || r == '\t' || r == '\n' } // splitRef splits s into a package and possibly a symbol. // Examples: // // splitRef("math.Max") => ("math", "Max", true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.2K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/unicode.gox
func IsMark (r <type -21>) <type -15>; func IsNumber (r <type -21>) <type -15>; func IsOneOf (ranges <type 23 [] <type 24 *<type 2>>>, r <type -21>) <type -15>; func IsPrint (r <type -21>) <type -15>; func IsPunct (r <type -21>) <type -15>; func IsSpace (r <type -21>) <type -15>; func IsSymbol (r <type -21>) <type -15>; func IsTitle (r <type -21>) <type -15>; func IsUpper (r <type -21>) <type -15>; var Javanese <type 1>;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 7.3K bytes - Viewed (0)