• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-1,6011,493

tests/H03-May-2022-2620

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D24-Jun-202074 65

.gitignoreH A D27-Oct-201830 43

COPYRIGHTH A D27-Oct-2018321 87

Cargo.tomlH A D24-Jun-20201.2 KiB3229

Cargo.toml.orig-cargoH A D24-Jun-2020715 2924

LICENSE-APACHEH A D27-Oct-201810.6 KiB202169

LICENSE-MITH A D27-Oct-20181 KiB2622

README.mdH A D24-Jun-2020784 3621

README.md

1# unicode-xid
2
3Determine if a `char` is a valid identifier for a parser and/or lexer according to
4[Unicode Standard Annex #31](http://www.unicode.org/reports/tr31/) rules.
5
6[![Build Status](https://travis-ci.org/unicode-rs/unicode-xid.svg)](https://travis-ci.org/unicode-rs/unicode-xid)
7
8[Documentation](https://unicode-rs.github.io/unicode-xid/unicode_xid/index.html)
9
10```rust
11extern crate unicode_xid;
12
13use unicode_xid::UnicodeXID;
14
15fn main() {
16    let ch = 'a';
17    println!("Is {} a valid start of an identifier? {}", ch, UnicodeXID::is_xid_start(ch));
18}
19```
20
21# features
22
23unicode-xid supports a `no_std` feature. This eliminates dependence
24on std, and instead uses equivalent functions from core.
25
26
27# changelog
28
29## 0.2.0
30
31- Update to Unicode 12.1.0.
32
33## 0.1.0
34
35- Initial release.
36