Fix logging of groups
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user