aboutsummaryrefslogtreecommitdiff
path: root/internal/reader/rewrite/rewrite_functions.go
diff options
context:
space:
mode:
authorGravatar jvoisin <julien.voisin@dustri.org> 2024-03-17 14:38:13 +0100
committerGravatar Frédéric Guillot <f@miniflux.net> 2024-03-17 12:08:03 -0700
commit02a074ed26d0ba0fcd153f371119bd41e67ece79 (patch)
tree3292d53357c1fbc3a7d15f0a8f8ef48b95a8ccdd /internal/reader/rewrite/rewrite_functions.go
parent00dabc1d3c86af88ece7a292ecc968f5d825749e (diff)
downloadv2-02a074ed26d0ba0fcd153f371119bd41e67ece79.tar.gz
v2-02a074ed26d0ba0fcd153f371119bd41e67ece79.tar.zst
v2-02a074ed26d0ba0fcd153f371119bd41e67ece79.zip
Compile block/keep regex only once per feed
No need to compile them once for matching on the url, once per tag, once per title, once per author, … one time is enough. It also simplify error handling, since while regexp compilation can fail, matching can't.
Diffstat (limited to 'internal/reader/rewrite/rewrite_functions.go')
0 files changed, 0 insertions, 0 deletions