News for hackers. Stuff that matters.
Re:HTML5 Features you need to know by richbradshaw on Sunday May 26, 2013 @06:18AM (#5770703)
The good thing is that the regex will be the same. It's also pretty trivial to write a polyfill to work on old browsers. I've found it's really nice to define that in one place then to use it everywhere. Newer users get the HTML5 validation, older ones the Javascript fallback, and everyone gets a second round of checking before it hits the database.
Re:HTML5 Features you need to know by jammi on Sunday May 26, 2013 @11:48AM (#5771378)
No, don't validate email addresses with regex. It's more complex than that.