fix:修复正则错误

This commit is contained in:
lifei6671 2018-11-14 16:32:32 +08:00
parent 9a11df47f3
commit f41d507db5

View File

@ -22,7 +22,7 @@ import (
var (
imageRegex = regexp.MustCompile(`(src|background)=["'](.*?)["']`)
schemeRegxp = regexp.MustCompile(`^[A-z]+://`)
schemeRegxp = regexp.MustCompile(`^[a-zA-Z]+://`)
)
// Mail will represent a formatted email