summaryrefslogtreecommitdiffstats
path: root/vendor/bstr/src/unicode/fsm/grapheme_break_rev.rs
blob: e5619b2f00483a8dbd9c10b081b820b3f5c4152e (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 --reverse --match-kind all --no-captures --shrink --rustfmt --safe GRAPHEME_BREAK_REV 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 GRAPHEME_BREAK_REV: Lazy<DFA<&'static [u8]>> = Lazy::new(|| {
    #[cfg(target_endian = "big")]
    static BYTES: &'static [u8] =
        include_bytes!("grapheme_break_rev.bigendian.dfa");
    #[cfg(target_endian = "little")]
    static BYTES: &'static [u8] =
        include_bytes!("grapheme_break_rev.littleendian.dfa");
    let (dfa, _) =
        DFA::from_bytes(BYTES).expect("serialized DFA should be valid");
    dfa
});