1 // DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: 2 // 3 // ucd-generate dfa --name WHITESPACE_ANCHORED_FWD --anchored --classes --premultiply --minimize --state-size 1 src/unicode/fsm/ \s+ 4 // 5 // ucd-generate 0.2.9 is available on crates.io. 6 7 #[cfg(target_endian = "big")] 8 lazy_static::lazy_static! { 9 pub static ref WHITESPACE_ANCHORED_FWD: ::regex_automata::DenseDFA<&'static [u8], u8> = { 10 #[repr(C)] 11 struct Aligned<B: ?Sized> { 12 _align: [u8; 0], 13 bytes: B, 14 } 15 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 17 _align: [], 18 bytes: *include_bytes!("whitespace_anchored_fwd.bigendian.dfa"), 19 }; 20 21 unsafe { 22 ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) 23 } 24 }; 25 } 26 27 #[cfg(target_endian = "little")] 28 lazy_static::lazy_static! { 29 pub static ref WHITESPACE_ANCHORED_FWD: ::regex_automata::DenseDFA<&'static [u8], u8> = { 30 #[repr(C)] 31 struct Aligned<B: ?Sized> { 32 _align: [u8; 0], 33 bytes: B, 34 } 35 36 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 37 _align: [], 38 bytes: *include_bytes!("whitespace_anchored_fwd.littleendian.dfa"), 39 }; 40 41 unsafe { 42 ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) 43 } 44 }; 45 } 46