var reg = new RegExp('\\w');var match = reg.exec('/hello/world/1');console.log(match[0]); 上面的log打印的是h,如果想打印出hello,怎么弄? 查看完整描述