feat(indieblog) exclude specific character sets in blog titles

try to exclude german/russian/asian/greek blog posts because I can only read french/english
This commit is contained in:
SansGuidon 2025-01-06 09:24:51 +00:00
parent ed5ba8c486
commit 45579768fa

View File

@ -19,6 +19,9 @@ $excludePatterns = [
'(?i)(\bin\s202\d|\bat\s202\d)', // "in/at 202x" '(?i)(\bin\s202\d|\bat\s202\d)', // "in/at 202x"
'(?i)(my\s.*\b202\d\b)', // Titres contenant "My ... 202x" '(?i)(my\s.*\b202\d\b)', // Titres contenant "My ... 202x"
// Exclude specific character sets
'[Α-ωА-яäöüßÄÖÜẞ\u4E00-\u9FFF\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFFEF]',
// Week notes et expressions relatives au nouvel an // Week notes et expressions relatives au nouvel an
'(?i)(week notes)', '(?i)(week notes)',
'(?i)(new year)', '(?i)(new year)',