summaryrefslogtreecommitdiffstats
path: root/vendor/bstr/src/unicode/fsm/sentence_break_fwd.rs
blob: 0f22eeefb4eeb498ce084a1a0a1feee648ee02d6 (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 SENTENCE_BREAK_FWD src/unicode/fsm/ <snip: arg too long>
//
// regex-cli 0.0.1 is available on crates.io.

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

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