Lines Matching refs:str
60 /// `ExecNoSyncStr` is like `ExecNoSync`, but matches on &str instead of &[u8].
135 pub fn new(re: &str) -> Self {
146 S: AsRef<str>,
385 type Text = str;
391 fn next_after_empty(&self, text: &str, i: usize) -> usize {
396 fn shortest_match_at(&self, text: &str, start: usize) -> Option<usize> {
401 fn is_match_at(&self, text: &str, start: usize) -> bool {
406 fn find_at(&self, text: &str, start: usize) -> Option<(usize, usize)> {
414 text: &str,
1270 /// Get a searcher that isn't Sync and can match on &str.