Skip to content

double escaping of \ in regex string incorrect in jubilator #9

jawspeak opened this Issue May 12, 2011 · 1 comment

2 participants


See the regex there, it shows up as:
email_regex = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z0-9]+)\Z/i

The raw in github is:
email_regex = /\A([^@\s]+)@((?:[-a-z0-9]+.)+[a-z0-9]+)\Z/i
Notice the double escaping.

This was in Firefox 3.6.3 on OS X

Thumble Monks member

Wow! nice find. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.