Don't deduplicate (yet)

This commit is contained in:
2025-03-29 17:23:21 +01:00
parent 35b3d8b099
commit fe6e97e832

View File

@@ -156,7 +156,9 @@ func ProcessRegex(content string, command utils.ModifyCommand, filename string)
} }
} }
captureGroups = deduplicateGroups(captureGroups) // TODO: Make this optional through modifier flags
// Sometimes we want to keep capture groups as is, sometimes we know what we're doing
// captureGroups = deduplicateGroups(captureGroups)
if err := toLua(L, captureGroups); err != nil { if err := toLua(L, captureGroups); err != nil {
logger.Error("Failed to set Lua variables: %v", err) logger.Error("Failed to set Lua variables: %v", err)