Minor fuckings

This commit is contained in:
2025-03-22 04:13:13 +01:00
parent 012c49d4f7
commit b96b6f9ef1
2 changed files with 19 additions and 19 deletions

View File

@@ -106,7 +106,7 @@ func main() {
patternModified := false
if strings.Contains(regexPattern, "!num") {
regexPattern = strings.ReplaceAll(regexPattern, "!num", "(\\d*\\.?\\d+)")
regexPattern = strings.ReplaceAll(regexPattern, "!num", "(-?\\d*\\.?\\d+)")
patternModified = true
}