Skip to content

Commit

Permalink
Detect numbers/dashes in abuse emails
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
bradleyjkemp authored Feb 17, 2020
1 parent 7028784 commit cb9a0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matchers.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var matchers = map[string]matcher{
}

var emailMatchers = []*regexp.Regexp{
regexp.MustCompile(`(?i)(abuse@[a-zA-Z.]*)`),
regexp.MustCompile(`(?i)(abuse@[a-z0-9\-.]*)`),
regexp.MustCompile(`OrgAbuseEmail:\s+(.*)$`),
}

Expand Down

0 comments on commit cb9a0f2

Please sign in to comment.