fixed not matching linestart/end

This commit is contained in:
2023-10-13 20:48:18 +02:00
parent bb2cb0f6b4
commit 70280aa62b

View File

@@ -51,7 +51,7 @@ var (
reReplaceSpecialChars = regexp.MustCompile(`(?m)[^a-zA-Z0-9_\-.]`) reReplaceSpecialChars = regexp.MustCompile(`(?m)[^a-zA-Z0-9_\-.]`)
reReplaceUnderscore = regexp.MustCompile(`(?m)[_\-]{2,}`) reReplaceUnderscore = regexp.MustCompile(`(?m)[_\-]{2,}`)
reReplaceTree = regexp.MustCompile(`(?m)^tree$`) reReplaceTree = regexp.MustCompile(`(?m)^tree$`)
reReplacePacsiftWarning = regexp.MustCompile(`^warning:.*\n`) reReplacePacsiftWarning = regexp.MustCompile(`(?m)^warning:.*\n`)
) )
type Conf struct { type Conf struct {