Nya-ify capital Greek alphabets

This commit is contained in:
naskya 2023-07-09 21:19:09 +00:00
parent 0cab9d1825
commit 3237a0c27c
1 changed files with 4 additions and 2 deletions

View File

@ -20,9 +20,11 @@ export function nyaize(text: string): string {
) )
.replace(/(다$)|(다(?=\.))|(다(?= ))|(다(?=!))|(다(?=\?))/gm, "다냥") .replace(/(다$)|(다(?=\.))|(다(?= ))|(다(?=!))|(다(?=\?))/gm, "다냥")
.replace(/(야(?=\?))|(야$)|(야(?= ))/gm, "냥") .replace(/(야(?=\?))|(야$)|(야(?= ))/gm, "냥")
// Chinese // zh-CN, zh-TW
.replace(/(妙|庙|描|渺|瞄|秒|苗|藐|廟)/g, "喵") .replace(/(妙|庙|描|渺|瞄|秒|苗|藐|廟)/g, "喵")
// Greek // el-GR
.replaceAll("να", "νια") .replaceAll("να", "νια")
.replaceAll("ΝΑ", "ΝΙΑ")
.replaceAll("Να", "Νια")
); );
} }