Module backtrack

An NFA backed bounded backtracker for executing regex searches with capturing groups.

This module provides a BoundedBacktracker that works by simulating an NFA using the classical backtracking algorithm with a twist: it avoids redoing work that it has done before and thereby avoids worst case exponential time. In exchange, it can only be used on "short" haystacks. Its advantage is that is can be faster than the PikeVM in many cases because it does less book-keeping.

Structs

Functions