Searched refs:slice_or_empty (Results 1 – 1 of 1) sorted by relevance
112 fn slice_or_empty<T>(slice: &[T], start: usize) -> &[T] { in slice_or_empty() function165 slice_or_empty(pattern, 1), in regex_match()174 return regex_match(slice_or_empty(pattern, 1), text, index); in regex_match()187 regex_match(slice_or_empty(pattern, 1), text, index) in regex_match()