diff --git a/main.go b/main.go index ef07279..e4af22f 100644 --- a/main.go +++ b/main.go @@ -469,6 +469,8 @@ func thompson(re []postfixNode) *State { state.assert = NLB } } + tmpRe := shuntingYard(state.lookaroundRegex) + state.lookaroundNFA = thompson(tmpRe) } }