shfshanyue / 2019-ncov

全国新型冠状病毒,肺炎疫情实时省市地图
https://ncov.shanyue.tech
539 stars 129 forks source link

match(/window.getStatisticsService = (.*?)}catch/)[1] #1

Closed zeroonbush closed 4 years ago

zeroonbush commented 4 years ago

想请问下,代码里面的 match(/window.getStatisticsService = (.*?)}catch/)[1] 是什么意思啊?

shfshanyue commented 4 years ago

正则匹配