1
0
mirror of https://github.com/cirosantilli/china-dictatorship.git synced 2025-09-09 22:20:40 +02:00

fix h2 fixup

This commit is contained in:
Ciro Santilli
2021-09-14 09:51:18 +01:00
parent 59a03ca6e4
commit 8c8fb8186f
3 changed files with 29 additions and 6 deletions

View File

@@ -91,12 +91,13 @@ if (!isComment) {
break;
}
}
const maWords = '(马|吗|妈|m)'
const fuckMotherWords = [
'cnm',
'fuck.*\\b(mom|mum|mother)\\b',
'尼玛',
'去你吗',
'(日|操|草)(你|泥|拟)(马|吗|妈|没了)',
'(日|操|草)(你|泥|拟)' + maWords,
]
for (const word of fuckMotherWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
@@ -106,7 +107,7 @@ if (!isComment) {
}
const motherDiedWords = [
'nmsl',
'你死',
'你' + maWords + '死',
'司马',
]
for (const word of motherDiedWords) {