Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support complex Regexes #2209

Open
npatki opened this issue Sep 9, 2024 · 0 comments
Open

Support complex Regexes #2209

npatki opened this issue Sep 9, 2024 · 0 comments
Labels
feature request Request for a new feature

Comments

@npatki
Copy link
Contributor

npatki commented Sep 9, 2024

Problem Description

Initially described in issue #2208: the RegexGenerator does not currently support all types of regexes. In particular, it does not support regexes with sub-patterns ("or" logic). This is described in detail in this FAQ.

Expected behavior

It would be nice to add support for regexes with sub-patterns. Eg. ([A-Z]{2}|\d{4}) (example from the docs FAQ) or ^(?=.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})*$ (example from issue 2208).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant