From b8f5b9af7cd00d3b4a1b981af6828b4929ba39b3 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Thu, 30 Jan 2025 10:39:00 -0500 Subject: [PATCH] Updated one more reference to epsilon --- regex/matching.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex/matching.go b/regex/matching.go index 559b88e..b82a60f 100644 --- a/regex/matching.go +++ b/regex/matching.go @@ -82,7 +82,7 @@ func takeZeroState(states []*nfaState, numGroups int, idx int) (rtv []*nfaState, } } for _, state := range rtv { - if len(state.transitions[EPSILON]) > 0 { + if len(state.transitions[epsilon]) > 0 { return rtv, true } }