Skip to content

Commit 9a18927

Browse files
committed
syntax: update to Unicode 15
Closes #916
1 parent 0d0023e commit 9a18927

15 files changed

+598
-255
lines changed

regex-syntax/src/unicode.rs

+1
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ fn ages(canonical_age: &str) -> Result<impl Iterator<Item = Range>> {
605605
("V12_1", age::V12_1),
606606
("V13_0", age::V13_0),
607607
("V14_0", age::V14_0),
608+
("V15_0", age::V15_0),
608609
];
609610
assert_eq!(AGES.len(), age::BY_NAME.len(), "ages are out of sync");
610611

regex-syntax/src/unicode_tables/age.rs

+39-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
22
//
3-
// ucd-generate age /tmp/ucd --chars
3+
// ucd-generate age ucd-15.0.0 --chars
44
//
5-
// Unicode version: 14.0.0.
5+
// Unicode version: 15.0.0.
66
//
7-
// ucd-generate 0.2.11 is available on crates.io.
7+
// ucd-generate 0.2.14 is available on crates.io.
88

99
pub const BY_NAME: &'static [(&'static str, &'static [(char, char)])] = &[
1010
("V10_0", V10_0),
@@ -13,6 +13,7 @@ pub const BY_NAME: &'static [(&'static str, &'static [(char, char)])] = &[
1313
("V12_1", V12_1),
1414
("V13_0", V13_0),
1515
("V14_0", V14_0),
16+
("V15_0", V15_0),
1617
("V1_1", V1_1),
1718
("V2_0", V2_0),
1819
("V2_1", V2_1),
@@ -346,6 +347,41 @@ pub const V14_0: &'static [(char, char)] = &[
346347
('𫜵', '𫜸'),
347348
];
348349

350+
pub const V15_0: &'static [(char, char)] = &[
351+
('ೳ', 'ೳ'),
352+
('\u{ece}', '\u{ece}'),
353+
('\u{10efd}', '\u{10eff}'),
354+
('𑈿', '\u{11241}'),
355+
('𑬀', '𑬉'),
356+
('\u{11f00}', '𑼐'),
357+
('𑼒', '\u{11f3a}'),
358+
('𑼾', '𑽙'),
359+
('𓐯', '𓐯'),
360+
('\u{13439}', '\u{13455}'),
361+
('𛄲', '𛄲'),
362+
('𛅕', '𛅕'),
363+
('𝋀', '𝋓'),
364+
('𝼥', '𝼪'),
365+
('𞀰', '𞁭'),
366+
('\u{1e08f}', '\u{1e08f}'),
367+
('𞓐', '𞓹'),
368+
('🛜', '🛜'),
369+
('🝴', '🝶'),
370+
('🝻', '🝿'),
371+
('🟙', '🟙'),
372+
('🩵', '🩷'),
373+
('🪇', '🪈'),
374+
('🪭', '🪯'),
375+
('🪻', '🪽'),
376+
('🪿', '🪿'),
377+
('🫎', '🫏'),
378+
('🫚', '🫛'),
379+
('🫨', '🫨'),
380+
('🫷', '🫸'),
381+
('𫜹', '𫜹'),
382+
('𱍐', '𲎯'),
383+
];
384+
349385
pub const V1_1: &'static [(char, char)] = &[
350386
('\0', 'ǵ'),
351387
('Ǻ', 'ȗ'),

regex-syntax/src/unicode_tables/case_folding_simple.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
22
//
3-
// ucd-generate case-folding-simple /tmp/ucd --chars --all-pairs
3+
// ucd-generate case-folding-simple ucd-15.0.0 --chars --all-pairs
44
//
5-
// Unicode version: 14.0.0.
5+
// Unicode version: 15.0.0.
66
//
7-
// ucd-generate 0.2.11 is available on crates.io.
7+
// ucd-generate 0.2.14 is available on crates.io.
88

99
pub const CASE_FOLDING_SIMPLE: &'static [(char, &'static [char])] = &[
1010
('A', &['a']),

0 commit comments

Comments
 (0)