阅读背景:

Retrieving multiple matched tokens from a regexp

来源:互联网 

Here's what I want to happen

这就是我想要发生的事情

> /x(y\d)*/.somefunction('xy1y2y3').each { |x| puts x }
y1
y2
y3
> 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: