pub trait CompiledRegex<I> { fn is_full_match(&self, input: &[I]) -> bool; fn captures(&self, input: &'a [I]) -> Option<Vec<Capture<'a, I>, Global>>; }