diff --git a/compile.go b/compile.go index 5aa0a5c..14b6b1e 100644 --- a/compile.go +++ b/compile.go @@ -703,7 +703,6 @@ func thompson(re []postfixNode) (Reg, error) { // Replace ESC_BACKSLASH with actual backslash, so that we can actually check if we encounter it replaceByValue([]int(state.content), int(ESC_BACKSLASH), '\\') - // Uncommenting this seems to make one of the test cases fail. Why? replaceByValue(state.except, ESC_BACKSLASH, '\\') nfa = append(nfa, &state)