Returns true if and only if the regex matches the string given. It is recommended to use this method if all you need to do is test a match, since the underlying matching engine may be able to do less work. # Example Test if some text contains at least one word with exactly 13 Unicode word characters: ```rust # extern crate regex; use regex::Regex; # fn main() { let text = "I categorically deny
(&self, text: &str)
| 195 | /// # } |
| 196 | /// ``` |
| 197 | pub fn is_match(&self, text: &str) -> bool { |
| 198 | self.is_match_at(text, 0) |
| 199 | } |
| 200 | |
| 201 | /// Returns the start and end byte range of the leftmost-first match in |
| 202 | /// `text`. If no match exists, then `None` is returned. |
nothing calls this directly
no test coverage detected