mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-16 09:58:13 +08:00
@@ -95,7 +95,7 @@ function onCancel() {
|
|||||||
|
|
||||||
function parseNamecard(desc: string): string {
|
function parseNamecard(desc: string): string {
|
||||||
let array = [];
|
let array = [];
|
||||||
if (desc.startsWith("名片纹饰。「")) {
|
if (desc.startsWith("名片纹饰。「") && desc.endsWith("」")) {
|
||||||
array.push("名片纹饰。");
|
array.push("名片纹饰。");
|
||||||
const reg = /「.+?」/g;
|
const reg = /「.+?」/g;
|
||||||
const match = desc.match(reg);
|
const match = desc.match(reg);
|
||||||
|
|||||||
Reference in New Issue
Block a user