开发者

In Ruby on Rails, why does a script match /something([^<]+)/ perfectly, but match the </td> also when it is the "script/runner" mode?

开发者 https://www.devze.com 2023-01-13 16:31 出处:网络
I tried a simple script with arr = data.scan /<td>([^<]+)/ and the arr is filled with the data within the <td> and </td> when it is run using
0

精彩评论

暂无评论...
验证码 换一张
取 消