match "afoobarz", "i" RE_0: goforward END literal "f" RE_1: lazyrepeat literal "o" saveindex literal "bar" backtrack RE_1 backtrack RE_0 reend I0