bcardarella/client_side_validations — pull request #390 by Mik-die (2012-09-24 22:37:30+00:00)
Title: Multiline regex

Hi, I tried with next regexp ```URI::regexp(%w(http https))```. JS cant' parse json your gem generate.

At first, it had some whitespaces.

At second it had ```x``` modifier.

So I write little patch that helps in my case.