瀏覽代碼

fix regex

MarkusRost 3 年之前
父節點
當前提交
3a81c773ac
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      util/default.json

+ 4 - 4
util/default.json

@@ -335,8 +335,8 @@
 			"scriptPath": "/w/"
 		},
 		{
-			"name": "bulbapedia.bulbagarden.net",
-			"regex": "((?:(bulbapedia|archives|bulbanews)\\.)?bulbagarden\\.net)",
+			"name": "bulbagarden.net",
+			"regex": "((bulbapedia|archives|bulbanews)\\.bulbagarden\\.net)",
 			"articlePath": "/wiki/",
 			"scriptPath": "/w/"
 		},
@@ -426,7 +426,7 @@
 		},
 		{
 			"name": "splatoonwiki.org",
-			"regex": "((?:(fr|es|www)\\.)?splatoonwiki\\.org)",
+			"regex": "((?:(es|fr|www)\\.)?splatoonwiki\\.org)",
 			"articlePath": "/wiki/",
 			"scriptPath": "/w/"
 		},
@@ -737,7 +737,7 @@
 			"scriptPath": "/"
 		},
 		{
-			"name": "www.glitchtale.com",
+			"name": "glitchtale.com",
 			"regex": "((?:www\\.)?glitchtale\\.com)",
 			"articlePath": "/wiki/index.php/",
 			"scriptPath": "/wiki/"