1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00
miniflux-v2/internal/reader
jvoisin f455c18c66 perf(rewrite): anchor the rewrite regex
There is no need to try to match the regexp over the whole input, having it
anchored is enough. If we feel extra-lenient, we might strip spaces in
front/tail, but I don't think it's necessary.

This commit also invert a condition to reduce the level of nested indentation,
and make a condition stricter.
2025-07-10 19:23:54 -07:00
..
atom test(reader): ensure consistent tags parsing across feed formats 2025-07-07 20:07:35 -07:00
date refactor(date): use an else-if instead of two if statements 2025-02-06 19:44:12 -08:00
dublincore Refactor RDF parser to use an adapter 2024-03-12 20:54:05 -07:00
encoding fix(scraper): avoid encoding issue if charset meta tag is after 1024 bytes 2025-02-15 17:05:14 -08:00
fetcher refactor(fetcher): simplification of ExecuteRequest 2025-07-09 19:36:36 -07:00
filter refactor(misc): Use proper slog.XXX instead of slog.Any 2025-06-29 12:30:17 -07:00
googleplay Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
handler feat: add entry filters at the feed level 2025-06-19 15:15:16 -07:00
icon feat: implement proxy URL per feed 2025-04-06 21:05:19 -07:00
itunes Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
json test(reader): ensure consistent tags parsing across feed formats 2025-07-07 20:07:35 -07:00
media perf(media): minor regex simplification 2025-06-17 16:49:07 -07:00
opml fix(api): hide_globally categories field should be a boolean 2025-04-21 19:43:25 -07:00
parser perf(reader): shrink the json detection buffer 2025-07-07 19:21:59 -07:00
processor test(processor): increase test coverage for parseISO8601Duration 2025-07-07 17:01:10 -07:00
rdf perf(reader): use a non-cryptographic hash when possible 2025-06-18 20:28:23 -07:00
readability refactor(readability): minor clean up 2025-07-02 16:50:49 -07:00
readingtime refactor(tests): use b.Loop() instead of for range b.N 2025-06-18 20:12:55 -07:00
rewrite perf(rewrite): anchor the rewrite regex 2025-07-10 19:23:54 -07:00
rss test(reader): ensure consistent tags parsing across feed formats 2025-07-07 20:07:35 -07:00
sanitizer perf(sanitizer): improve the performances of the sanitizer (#3497) 2025-07-07 15:21:13 -07:00
scraper refactor(internal): add an urllib.DomainWithoutWWW function 2025-06-17 17:27:36 -07:00
subscription refactor(subscription): avoid using Sprintf to construct Youtube playlist feed URL 2025-07-07 17:08:47 -07:00
urlcleaner perf(reader): optimize RemoveTrackingParameters 2025-06-10 19:29:25 -07:00
xml fix(reader): fix a crash introduced by d59990f1 2025-06-11 19:04:46 -07:00