diff --git a/src/utils/or.ts b/src/utils/or.ts index 09909b9..3efa464 100644 --- a/src/utils/or.ts +++ b/src/utils/or.ts @@ -25,6 +25,8 @@ export default function(text: string, words: (string | RegExp)[]): boolean { text = text .replace(/。$/, '') .replace(/です$/, '') + .replace(/(\.|…)+$/, '') + .replace(/[♪♥]+$/, '') .replace(/^藍/, '') .replace(/^ちゃん/, '') .replace(/、+$/, '');