bstr/unicode/fsm/
grapheme_break_rev.rs
1use regex_automata::{dfa::sparse::DFA, util::lazy::Lazy};
8
9pub static GRAPHEME_BREAK_REV: Lazy<DFA<&'static [u8]>> = Lazy::new(|| {
10 #[cfg(target_endian = "big")]
11 static BYTES: &'static [u8] =
12 include_bytes!("grapheme_break_rev.bigendian.dfa");
13 #[cfg(target_endian = "little")]
14 static BYTES: &'static [u8] =
15 include_bytes!("grapheme_break_rev.littleendian.dfa");
16 let (dfa, _) =
17 DFA::from_bytes(BYTES).expect("serialized DFA should be valid");
18 dfa
19});