From ddd7b0464604f3068c439aad5ba5d58079c249ae Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Wed, 5 Feb 2020 21:11:24 +0900
Subject: [PATCH] korean nyaize

---
 src/misc/nyaize.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/misc/nyaize.ts b/src/misc/nyaize.ts
index 38c7101766..b0f3ad4d51 100644
--- a/src/misc/nyaize.ts
+++ b/src/misc/nyaize.ts
@@ -7,5 +7,7 @@ export function nyaize(text: string): string {
 		// ko-KR
 		.replace(/[나-낳]/g, match => String.fromCharCode(
 			match.codePointAt(0)! + '냐'.charCodeAt(0) - '나'.charCodeAt(0)
-		));
+		))
+		.replace(/(다$)|(다(?=\.))|(다(?= ))|(다(?=!))|(다(?=\?))/gm, '다냥')
+		.replace(/(야(?=\?))|(야$)|(야(?= ))/gm, '냥');
 }