Hi Victor,

On Fri, Feb 18, 2011 at 7:03 AM, Victor S <victor.s...@gmail.com> wrote:
> To be a bit more clear about how I see the problem: as I said
> earlier, http://www.rubular.com/  validates the correctness of the
> expression, I've tried similar expressions in JS parsers, .NET parsers,
> Python parsers, they all pass, I think it's the rails parsers that fails,
> and/or something about the validates with that doesn't like the
> parenthesis... can someone prove me wrong? Please?

It might be that, in Ruby, ^$ match before / after newlines, not
beginning / end of string.  Give it a try with \A and \Z and see if
that solves it.

HTH,
Billl

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to