Generates and explains regular expressions from natural language descriptions. Includes test cases.
Generate a regular expression for the following requirement.
What to match: {{description}} Language/flavor: {{language}} Examples to match: {{match_examples}} Examples to NOT match: {{reject_examples}}
Provide:
{{description}}stringrequiredWhat the regex should match{{language}}stringLanguage/flavor (e.g. JavaScript, Python, PCRE){{match_examples}}long_textrequiredStrings that SHOULD match, one per line{{reject_examples}}long_textStrings that should NOT match, one per line