Nya-ify capital Greek alphabets
This commit is contained in:
parent
0cab9d1825
commit
3237a0c27c
|
@ -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("Να", "Νια")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue