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.
| 794 | /// |
| 795 | /// `'r` is the lifetime of the compiled regular expression. |
| 796 | pub struct CaptureNames<'r>(::std::slice::Iter<'r, Option<String>>); |
| 797 | |
| 798 | impl<'r> Iterator for CaptureNames<'r> { |
| 799 | type Item = Option<&'r str>; |