Returns the same as is_match, but starts the search at the given offset. The significance of the starting point is that it takes the surrounding context into consideration. For example, the `\A` anchor can only match when `start == 0`.
(&self, text: &str, start: usize)
| 639 | /// context into consideration. For example, the `\A` anchor can only |
| 640 | /// match when `start == 0`. |
| 641 | pub fn is_match_at(&self, text: &str, start: usize) -> bool { |
| 642 | self.shortest_match_at(text, start).is_some() |
| 643 | } |
| 644 | |
| 645 | /// Returns the same as find, but starts the search at the given |
| 646 | /// offset. |
no test coverage detected