Re:Show HN: Rgx.tools – Generate Regex from Text Using GPT
by matrix1010 on Thursday April 11, 2024 @09:58PM
(#40008737)
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.
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.