Documentation ¶
Overview ¶
Package is provide utilities for identifying Unicode categories of runes, relating to Unicode text segmentation: https://unicode.org/reports/tr29/
Index ¶
- func AHLetter(r rune) bool
- func ALetter(r rune) bool
- func Cr(r rune) bool
- func HebrewLetter(r rune) bool
- func InfixNumeric(r rune) bool
- func Katakana(r rune) bool
- func Leading(r rune) bool
- func MidLetter(r rune) bool
- func MidNum(r rune) bool
- func MidNumLet(r rune) bool
- func MidNumLetQ(r rune) bool
- func Numeric(r rune) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AHLetter ¶
AHLetter is any unicode letter or number, or underscore, and not ideographic Working to comply with https://unicode.org/reports/tr29/#WB5 through WB13 Current logic implements WB5, WB8, WB9, WB10, WB13
func HebrewLetter ¶ added in v0.9.7
func MidLetter ¶
MidLetter are runes allowed mid-word https://unicode.org/reports/tr29/#MidLetter
func MidNumLet ¶
MidNumLet are non-alphanumeric characters allowed within words See https://unicode.org/reports/tr29/#MidNumLet
func MidNumLetQ ¶
MidNumLetQ are non-alphanumeric characters allowed within words See https://unicode.org/reports/tr29/#MidNumLet
Types ¶
This section is empty.