Hacker News new | past | comments | ask | show | jobs | submit login

The odds of the sample addresses matching is essentially zero, and adding work to the user is counterproductive.



I'm not sure I agree — most common regex editing tools available online include a section for adding test strings to verify what you actually wrote is correct. Clearly there is a benefit to it. In similar vein, allowing the user to test before they commit and then test actually reduces their work load, they don't have to drop and then reload the whole regex in their mind.


Sure, I use that when authoring and editing a RegEx. That's not the same as entry validation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: