summaryrefslogtreecommitdiffstats
path: root/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.rs
blob: 2eb98c0bd82e48e5c77b1d12c243552fdab57abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
//
//     regex-cli generate serialize dense dfa --minimize --start-kind anchored --reverse --no-captures --shrink --rustfmt --safe WHITESPACE_ANCHORED_REV 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_REV: Lazy<DFA<&'static [u32]>> =
    Lazy::new(|| {
        static ALIGNED: &AlignAs<[u8], u32> = &AlignAs {
            _align: [],
            #[cfg(target_endian = "big")]
            bytes: *include_bytes!("whitespace_anchored_rev.bigendian.dfa"),
            #[cfg(target_endian = "little")]
            bytes: *include_bytes!("whitespace_anchored_rev.littleendian.dfa"),
        };
        let (dfa, _) = DFA::from_bytes(&ALIGNED.bytes)
            .expect("serialized DFA should be valid");
        dfa
    });