๐Ÿ“ฆ nexxeln / text2regex

generate regular expressions from text

โ˜… 22 stars โ‘‚ 1 forks ๐Ÿ‘ 22 watching โš–๏ธ Apache License 2.0
๐Ÿ“ฅ Clone https://github.com/nexxeln/text2regex.git
HTTPS git clone https://github.com/nexxeln/text2regex.git
SSH git clone git@github.com:nexxeln/text2regex.git
CLI gh repo clone nexxeln/text2regex
Shoubhit Dash Shoubhit Dash generate license using gen-license b076ccb 1 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“„ .gitignore
๐Ÿ“„ bun.lockb
๐Ÿ“„ index.ts
๐Ÿ“„ LICENSE
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ tsconfig.json
๐Ÿ“„ README.md

text2regex

generate regular expressions validated against a thorough test suite

https://github.com/nexxeln/text2regex/assets/95541290/d7cb782d-5f72-4641-a63c-93ef30ab451d

usage

text2regex "match three consecutive odd digits"

working

llm generates tests, writes regex, iterates based on test feedback until it passes