skip_user_agent incorrectly working with regexp

If i wrote somthing like this

    config[:skip_user_agents] = [/ipad/, /android/]

it wont work, but should.