|
|
@@ -118,7 +118,7 @@ async function getLoginUrl(){
|
|
|
|
|
|
|
|
|
function findAll(regexPattern, text) {
|
|
|
- const re = new RegExp(regexPattern, 'g'); // 'g' 标志表示全局搜索
|
|
|
+ const re = new RegExp(regexPattern); // 'g' 标志表示全局搜索
|
|
|
let matches = text.match(re);
|
|
|
magicJS.logger.error(JSON.stringify(matches));
|
|
|
return matches || [];
|