1// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
2//
3// regex-cli generate serialize sparse dfa --minimize --start-kind anchored --shrink --rustfmt --safe WORD_BREAK_FWD src/unicode/fsm/ <snip: arg too long>
4//
5// regex-cli 0.0.1 is available on crates.io.
6
7use regex_automata::{dfa::sparse::DFA, util::lazy::Lazy};
8
9pub static WORD_BREAK_FWD: Lazy<DFA<&'static [u8]>> = Lazy::new(|| {
10 #[cfg(target_endian = "big")]
11 static BYTES: &'static [u8] =
12 include_bytes!("word_break_fwd.bigendian.dfa");
13 #[cfg(target_endian = "little")]
14 static BYTES: &'static [u8] =
15 include_bytes!("word_break_fwd.littleendian.dfa");
16 let (dfa: DFA<&[u8]>, _) =
17 DFA::from_bytes(BYTES).expect(msg:"serialized DFA should be valid");
18 dfa
19});
20