An iterator over the names of all possible captures. `None` indicates an unnamed capture; the first element (capture 0, the whole matched region) is always unnamed. `'r` is the lifetime of the compiled regular expression.
| 750 | /// |
| 751 | /// `'r` is the lifetime of the compiled regular expression. |
| 752 | pub struct CaptureNames<'r>(::std::slice::Iter<'r, Option<String>>); |
| 753 | |
| 754 | impl<'r> Iterator for CaptureNames<'r> { |
| 755 | type Item = Option<&'r str>; |