bstr/unicode/fsm/
whitespace_anchored_fwd.rs

1// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
2//
3//     regex-cli generate serialize dense dfa --minimize --start-kind anchored --shrink --rustfmt --safe WHITESPACE_ANCHORED_FWD src/unicode/fsm/ \s+
4//
5// regex-cli 0.0.1 is available on crates.io.
6
7use regex_automata::{
8    dfa::dense::DFA,
9    util::{lazy::Lazy, wire::AlignAs},
10};
11
12pub static WHITESPACE_ANCHORED_FWD: Lazy<DFA<&'static [u32]>> =
13    Lazy::new(|| {
14        static ALIGNED: &AlignAs<[u8], u32> = &AlignAs {
15            _align: [],
16            #[cfg(target_endian = "big")]
17            bytes: *include_bytes!("whitespace_anchored_fwd.bigendian.dfa"),
18            #[cfg(target_endian = "little")]
19            bytes: *include_bytes!("whitespace_anchored_fwd.littleendian.dfa"),
20        };
21        let (dfa, _) = DFA::from_bytes(&ALIGNED.bytes)
22            .expect("serialized DFA should be valid");
23        dfa
24    });