mirror of
https://example.com
synced 2024-11-22 12:46:39 +09:00
chore: remove 'nA' -> 'nYA' conversion in nyaification
This commit is contained in:
parent
82869b4022
commit
7c309e371d
2 changed files with 5 additions and 1 deletions
|
@ -45,6 +45,8 @@
|
|||
|
||||
## 細かい変更点
|
||||
|
||||
- 猫語で "nA" を "nYA" に置換しない
|
||||
- この置き換えはあまり嬉しくないことが多い
|
||||
- `reset-db` という API を無効化
|
||||
- エンドポイント自体は残してありますが、叩いても何もしません
|
||||
- データベースをリセットする API って何?怖すぎる
|
||||
|
|
|
@ -9,7 +9,9 @@ export default function (
|
|||
.replaceAll("ナ", "ニャ")
|
||||
.replaceAll("ナ", "ニャ")
|
||||
// en-US
|
||||
.replace(/(?<=n)a/gi, (x) => (x === "A" ? "YA" : "ya"))
|
||||
.replaceAll("na", "nya")
|
||||
.replaceAll("Na", "Nya")
|
||||
.replaceAll("NA", "NYA")
|
||||
.replace(/(?<=morn)ing/gi, (x) => (x === "ING" ? "YAN" : "yan"))
|
||||
.replace(/(?<=every)one/gi, (x) => (x === "ONE" ? "NYAN" : "nyan"))
|
||||
.replace(/non(?=[bcdfghjklmnpqrstvwxyz])/gi, (x) =>
|
||||
|
|
Loading…
Reference in a new issue