Function regex_syntax::hir::singleton_bytes

source ยท
fn singleton_bytes(hirs: &[Hir]) -> Option<Vec<u8>>
Expand description

Given a sequence of HIR values where each value corresponds to a literal that is a single byte, return that sequence of bytes. Otherwise return None. No deduplication is done.