diff --git a/processor/regex.go b/processor/regex.go index 3f52bba..2756d61 100644 --- a/processor/regex.go +++ b/processor/regex.go @@ -186,7 +186,9 @@ func (p *RegexProcessor) ProcessContent(content string, pattern string, luaExpr }) } - log.Printf("Capture groups: %v", captureGroups) + for _, capture := range captureGroups { + log.Printf("Capture group: %+v", *capture) + } if err := p.ToLua(L, captureGroups); err != nil { log.Printf("Error setting Lua variables: %v", err)