is

package
v0.9.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package is provide utilities for identifying Unicode categories of runes, relating to Unicode text segmentation: https://unicode.org/reports/tr29/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AHLetter

func AHLetter(r rune) bool

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 Cr added in v0.9.7

func Cr(r rune) bool

func HebrewLetter added in v0.9.7

func HebrewLetter(r rune) bool

func Leading

func Leading(r rune) bool

func MidLetter

func MidLetter(r rune) bool

MidLetter are runes allowed mid-word https://unicode.org/reports/tr29/#MidLetter

func MidNumLet

func MidNumLet(r rune) bool

MidNumLet are non-alphanumeric characters allowed within words See https://unicode.org/reports/tr29/#MidNumLet

func MidNumLetQ

func MidNumLetQ(r rune) bool

MidNumLetQ are non-alphanumeric characters allowed within words See https://unicode.org/reports/tr29/#MidNumLet

func Numeric

func Numeric(r rune) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL