Computes paths with captures directly without using the VM.
This is used internally by the VM to avoid infinite recursion.
Note: This function delegates capture collection to the pattern's
own matching mechanism. The VM has its own capture tracking, so
this just returns paths with any captures found during matching.
Computes paths with captures directly without using the VM. This is used internally by the VM to avoid infinite recursion.
Note: This function delegates capture collection to the pattern's own matching mechanism. The VM has its own capture tracking, so this just returns paths with any captures found during matching.