"Iaki Baz Castillo" <ibc / aliax.net> wrote in post #1063634:
> 2012/6/7 cyber c. <lists / ruby-forum.com>:
> Regexp.new(/^([a-zA-Z]+)(.+)$/).match(str).captures

Why are you using Regexp.new, when /^([a-zA-Z]+)(.+)$/ already *is* a Regexp? This seems nonsensical to me, like String.new("abc").