console.log(mainVal);console.log(mainVal.match(new RegExp(RegStr, 'g')));问题:同样是返回一串数字,为什么第二句输出是["...."]的格式。 查看完整描述