Padrino no longer supports Ruby 1.8
Fix Ruby 1.8 quirk with regexp