This commit is contained in:
2023-12-11 01:12:26 +08:00
parent e31e6d8fc5
commit 40bf8f8433
4 changed files with 10 additions and 5 deletions

View File

@@ -19,6 +19,10 @@
inputDialog.value.open()
},0)
}
let s = `$http({code:'1s'});if`
// // let arr = /\$http\((\S*)\)\;if/.exec(s);
let arr = s.match(/\$http\((.*)\)\;if/)
console.log(arr[1])
})
// 变量