| // DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: |
| // |
| // regex-cli generate serialize dense dfa --minimize --start-kind anchored --shrink --rustfmt --safe WHITESPACE_ANCHORED_FWD src/unicode/fsm/ \s+ |
| // |
| // regex-cli 0.0.1 is available on crates.io. |
| |
| use regex_automata::{ |
| dfa::dense::DFA, |
| util::{lazy::Lazy, wire::AlignAs}, |
| }; |
| |
| pub static WHITESPACE_ANCHORED_FWD: Lazy<DFA<&'static [u32]>> = |
| Lazy::new(|| { |
| static ALIGNED: &AlignAs<[u8], u32> = &AlignAs { |
| _align: [], |
| #[cfg(target_endian = "big")] |
| bytes: *include_bytes!("whitespace_anchored_fwd.bigendian.dfa"), |
| #[cfg(target_endian = "little")] |
| bytes: *include_bytes!("whitespace_anchored_fwd.littleendian.dfa"), |
| }; |
| let (dfa, _) = DFA::from_bytes(&ALIGNED.bytes) |
| .expect("serialized DFA should be valid"); |
| dfa |
| }); |