From 57eb935bd1065b495f727bed54cf62de477f50c6 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Thu, 30 Jan 2025 10:48:59 -0500 Subject: [PATCH] Updated comment --- regex/compile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex/compile.go b/regex/compile.go index 2ba2faa..1e10aa9 100644 --- a/regex/compile.go +++ b/regex/compile.go @@ -1000,7 +1000,7 @@ func thompson(re []postfixNode) (Reg, error) { s2 := mustPop(&nfa) // Relax the requirements for concatenation a little bit - If // the second element is not found ie. the postfixNodes look - // like 'a~', then that's fine, we just skip the concatenation. + // like 'a'+CONCAT, then that's fine, we just skip the concatenation. s1, err := pop(&nfa) if err != nil { nfa = append(nfa, s2)