Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smasher164/xid

Parse unicode identifiers
https://github.com/smasher164/xid

nfkc tr31 uax31 unicode xid

Last synced: about 1 month ago
JSON representation

Parse unicode identifiers

Awesome Lists containing this project

README

        

# xid

[![PkgGoDev](https://pkg.go.dev/badge/github.com/smasher164/xid)](https://pkg.go.dev/github.com/smasher164/xid)
![Test](https://github.com/smasher164/xid/workflows/Test/badge.svg)

Package xid implements validation functions for unicode identifiers,
as defined in UAX#31: https://unicode.org/reports/tr31/.
The syntax for an identifier is:

:= *

where `` and `` derive from `` and
``, respectively, and check their NFKC normalized forms.