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