UNIC — UCD — Identifier Properties
A component of unic
: Unicode and Internationalization Crates for Rust.
Accessor to the UCD properties used widely by UAX31 Unicode Identifier and Pattern Syntax.
Features
-
xid
(default): theXID_Start
andXID_Continue
properties. -
id
(optional): theID_Start
andID_Continue
properties. NOTE: in most cases, you should prefer using theXID
properties because they are consistent under NFKC normalization. -
pattern
(optional): thePattern_Syntax
andPattern_White_Space
properties.