summaryrefslogtreecommitdiffstats
path: root/vendor/bstr/src/unicode/fsm/simple_word_fwd.rs
blob: 97bd006fb4b1d78f18ea11d712f6c3ced2d78e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY:
//
//     regex-cli generate serialize sparse dfa --minimize --start-kind anchored --shrink --rustfmt --safe SIMPLE_WORD_FWD src/unicode/fsm/ \w
//
// regex-cli 0.0.1 is available on crates.io.

use regex_automata::{dfa::sparse::DFA, util::lazy::Lazy};

pub static SIMPLE_WORD_FWD: Lazy<DFA<&'static [u8]>> = Lazy::new(|| {
    #[cfg(target_endian = "big")]
    static BYTES: &'static [u8] =
        include_bytes!("simple_word_fwd.bigendian.dfa");
    #[cfg(target_endian = "little")]
    static BYTES: &'static [u8] =
        include_bytes!("simple_word_fwd.littleendian.dfa");
    let (dfa, _) =
        DFA::from_bytes(BYTES).expect("serialized DFA should be valid");
    dfa
});