forked from ALHP/ALHP.GO
fixed not matching linestart/end
This commit is contained in:
2
utils.go
2
utils.go
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user