bstr/unicode/fsm/
regional_indicator_rev.rs

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 REGIONAL_INDICATOR_REV src/unicode/fsm/ \p{gcb=Regional_Indicator}
4//
5// regex-cli 0.0.1 is available on crates.io.
6
7use regex_automata::{
8    dfa::dense::DFA,
9    util::{lazy::Lazy, wire::AlignAs},
10};
11
12pub static REGIONAL_INDICATOR_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!("regional_indicator_rev.bigendian.dfa"),
18            #[cfg(target_endian = "little")]
19            bytes: *include_bytes!("regional_indicator_rev.littleendian.dfa"),
20        };
21        let (dfa, _) = DFA::from_bytes(&ALIGNED.bytes)
22            .expect("serialized DFA should be valid");
23        dfa
24    });