Don't deduplicate (yet)
This commit is contained in:
@@ -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 {
|
||||
logger.Error("Failed to set Lua variables: %v", err)
|
||||
|
Reference in New Issue
Block a user