fixed not matching linestart/end
This commit is contained in:
parent
bb2cb0f6b4
commit
70280aa62b
2
utils.go
2
utils.go
|
@ -51,7 +51,7 @@ var (
|
|||
reReplaceSpecialChars = regexp.MustCompile(`(?m)[^a-zA-Z0-9_\-.]`)
|
||||
reReplaceUnderscore = regexp.MustCompile(`(?m)[_\-]{2,}`)
|
||||
reReplaceTree = regexp.MustCompile(`(?m)^tree$`)
|
||||
reReplacePacsiftWarning = regexp.MustCompile(`^warning:.*\n`)
|
||||
reReplacePacsiftWarning = regexp.MustCompile(`(?m)^warning:.*\n`)
|
||||
)
|
||||
|
||||
type Conf struct {
|
||||
|
|
Loading…
Reference in New Issue