Hacker News new | ask | show | jobs
by matrix1010 801 days ago
I think this is the prompt?

Return a regex matching user input. Answer in this format "^.*$", nothing else: "Validate a password with at least 8 characters, one uppercase, one lowercase, and one number".

This looks great, I will use it in my tool (https://tablesmith.io/) and let user filter by regex. One suggestion is also let user input some positive/negative test cases, and test them automatically.