Like find_nfa, but fills in captures. `slots` should have length equal to `2 * nfa.captures.len()`.
(
&self,
slots: &mut [Slot],
text: &[u8],
start: usize,
)
| 933 | /// |
| 934 | /// `slots` should have length equal to `2 * nfa.captures.len()`. |
| 935 | fn captures_nfa( |
| 936 | &self, |
| 937 | slots: &mut [Slot], |
| 938 | text: &[u8], |
| 939 | start: usize, |
| 940 | ) -> Option<(usize, usize)> { |
| 941 | self.captures_nfa_type( |
| 942 | MatchNfaType::Auto, slots, text, start, text.len()) |
| 943 | } |
| 944 | |
| 945 | /// Like captures_nfa, but allows specification of type of NFA engine. |
| 946 | fn captures_nfa_type( |
no test coverage detected