(&self, s: &str)
| 206 | /// the provided regular expression. |
| 207 | #[inline] |
| 208 | fn is_null(&self, s: &str) -> bool { |
| 209 | match &self.0 { |
| 210 | Some(r) => r.is_match(s), |
| 211 | None => s.is_empty(), |
| 212 | } |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | #[derive(Default, Copy, Clone)] |
no test coverage detected