Ruby combina tudo

string.scan(/regex/)
Lioruby