feat(substore): 支持规范化带连字符的节点区域特征名称

This commit is contained in:
Orion
2026-06-03 14:51:53 +08:00
parent 6c1e055281
commit ca3413a1ee
3 changed files with 44 additions and 1 deletions
+4
View File
@@ -143,6 +143,7 @@ https://git.orionc.me/orion/script/raw/branch/main/substore/common.js
- 常见城市转短码,例如 `Los Angeles` -> `LAX``San Jose` -> `SJC``Seattle` -> `SEA``东京` -> `TYO`
- 国家/地区别名表覆盖常见英文、中文国家名;城市尽量使用三字 IATA/城市码,避免 `LA` 这类两字码被旗帜操作误识别为国家。
- 支持国旗在中间的节点名,例如 `Pro-🇭🇰 Sharon|守夜人` -> `🇭🇰 HK Pro-Sharon|守夜人`
- 支持保留连字符命名里的入口/落地特征,例如 `HK-Go-05-HostHatch` -> `HK 05 GO-HostHatch`
- 将倍率移动到节点核心末尾、订阅后缀之前,例如 `US 2X 02 - Alpha Air` -> `US 02 2X - Alpha Air`
- 清理 `[DIP China-Hongkong]``[DIP]`
- 清理 Alpha Flower 这类 `IEPL 专线 3``标准 1``高级 1` 的冗余线路尾号。
@@ -160,6 +161,9 @@ https://git.orionc.me/orion/script/raw/branch/main/substore/common.js
Pro-🇭🇰 Sharon|守夜人 - Alpha 8K Snell
=> 🇭🇰 HK Pro-Sharon|守夜人 - Alpha 8K Snell
🇭🇰 HK-Go-05-HostHatch - VK
=> 🇭🇰 HK 05 GO-HostHatch - VK
```
## 注意事项