Similar to resolve, this method also returns an array of config objects, since multiple config objects can match the pattern.
与resolve类似,这个方法也会返回一个配置对象数组,因为许多配置对象都可以匹配这种模式。
If you want to match a pattern multiple times within a character sequence, the above code snippets are a good place to start.
如果您想在一个字符序列中多次匹配一个模式,上面的代码片段是一个很好的起点。
The match variables are NOT set when weighted scoring is used, since the same pattern is matched multiple times.
当权重打分的时候,MATCH变量将不被设置,因为相同的模式被匹配了多次。
The match variables are NOT set when weighted scoring is used, since the same pattern is matched multiple times.
当权重打分的时候,MATCH变量将不被设置,因为相同的模式被匹配了多次。
应用推荐