Redo what claude removed
This commit is contained in:
@@ -74,6 +74,8 @@ func (p *RegexProcessor) ProcessContent(content string, pattern string, luaExpr
|
||||
log.Printf("Pattern modified to include (?s): %s", pattern)
|
||||
}
|
||||
|
||||
pattern = strings.ReplaceAll(pattern, "!num", `(\d*\.?\d+)`)
|
||||
|
||||
compiledPattern, err := regexp.Compile(pattern)
|
||||
if err != nil {
|
||||
log.Printf("Error compiling pattern: %v", err)
|
||||
|
Reference in New Issue
Block a user