Inspect substrings with a Walker<> instead of Prefilter.

For reasons related to its Boolean operations, Prefilter doesn't
necessarily surface all substrings. As a result, a lot of large
substrings were flying under the radar.

Change-Id: I92eca70108df4ed64b72e0211d3c485a717ce50a
Reviewed-on: https://code-review.googlesource.com/c/re2/+/59270
Reviewed-by: Perry Lorier <perryl@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
1 file changed