(&mut self)
| 380 | } |
| 381 | |
| 382 | fn c_dotstar(&mut self) -> Result { |
| 383 | Ok(if !self.compiled.only_utf8() { |
| 384 | self.c(&Hir::repetition(hir::Repetition { |
| 385 | kind: hir::RepetitionKind::ZeroOrMore, |
| 386 | greedy: false, |
| 387 | hir: Box::new(Hir::any(true)), |
| 388 | }))? |
| 389 | } else { |
| 390 | self.c(&Hir::repetition(hir::Repetition { |
| 391 | kind: hir::RepetitionKind::ZeroOrMore, |
| 392 | greedy: false, |
| 393 | hir: Box::new(Hir::any(false)), |
| 394 | }))? |
| 395 | }) |
| 396 | } |
| 397 | |
| 398 | fn c_char(&mut self, c: char) -> Result { |
| 399 | self.c_class(&[hir::ClassUnicodeRange::new(c, c)]) |
no test coverage detected