(
pattern: PyStrRef,
string: PyStrRef,
flags: OptionalArg<usize>,
vm: &VirtualMachine,
)
| 135 | |
| 136 | #[pyfunction] |
| 137 | fn findall( |
| 138 | pattern: PyStrRef, |
| 139 | string: PyStrRef, |
| 140 | flags: OptionalArg<usize>, |
| 141 | vm: &VirtualMachine, |
| 142 | ) -> PyResult { |
| 143 | let flags = extract_flags(flags); |
| 144 | let regex = make_regex(vm, pattern.as_str(), flags)?; |
| 145 | do_findall(vm, ®ex, string) |
| 146 | } |
| 147 | |
| 148 | #[pyfunction] |
| 149 | fn split( |
nothing calls this directly
no test coverage detected