1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

refactor(processor): move filters to a filter package

This commit is contained in:
Frédéric Guillot 2025-06-19 11:59:55 -07:00
parent 96c0ef4efd
commit 6282ac1f38
5 changed files with 109 additions and 97 deletions

View file

@ -71,12 +71,3 @@ func minifyContent(content string) string {
return content
}
func containsRegexPattern(pattern string, entries []string) bool {
for _, entry := range entries {
if matched, _ := regexp.MatchString(pattern, entry); matched {
return true
}
}
return false
}