Returns the original string of this regex.
(&self)
| 657 | impl Regex { |
| 658 | /// Returns the original string of this regex. |
| 659 | pub fn as_str(&self) -> &str { |
| 660 | &self.0.regex_strings()[0] |
| 661 | } |
| 662 | |
| 663 | /// Returns an iterator over the capture names. |
| 664 | pub fn capture_names(&self) -> CaptureNames { |
no test coverage detected