1 | // DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: |
2 | // |
3 | // regex-cli generate serialize sparse dfa --minimize --start-kind anchored --reverse --match-kind all --no-captures --shrink --rustfmt --safe GRAPHEME_BREAK_REV src/unicode/fsm/ <snip: arg too long> |
4 | // |
5 | // regex-cli 0.0.1 is available on crates.io. |
6 | |
7 | use regex_automata::{dfa::sparse::DFA, util::lazy::Lazy}; |
8 | |
9 | pub 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: DFA<&[u8]>, _) = |
17 | DFA::from_bytes(BYTES).expect(msg:"serialized DFA should be valid" ); |
18 | dfa |
19 | }); |
20 | |