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:
parent
96c0ef4efd
commit
5be12e1ae7
5 changed files with 109 additions and 97 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue