Comment

Comment by robomartin

This is neat.

A couple of points:

1- Client side validation is easy to circumvent. If you use this you have to make sure it is for UI only and that the real validation happens server side.

2- Using regex for email validation is fraught with issues. Probably the most salient one is that there are a million expressions out there. People run a quick google search, grab one and move on without knowing what they just plugged into their code. This particular tool will, for example, pass "[email protected]" as valid.

Other than that, I am sure this is a great time saver.

parent robomartin 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton