Show HN: Text-to-Regex. Shows Assumptions. (text2regex.com)
Text to Python `re` regex converter using GPT-3 that:
- States assumptions / what it has understood.
- Example: `Match any text file.` - >`Match a string that can contain anything at the beginning, but must end with one of ".txt", ".csv", ".tsv", ".rtf", ".log”.`
- Lets you test the resulting regex on a string easily
GitHub: https://github.com/llmhub/text-to-regexOpen-source prompt: https://www.llmhub.com/2/functions/21/share
0 comments
[ 2.6 ms ] story [ 11.6 ms ] threadNo comments yet.