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

running xeger.Generate() causes stack overflow exception #57

Open
mohamadbahmani opened this issue Feb 22, 2021 · 1 comment
Open

running xeger.Generate() causes stack overflow exception #57

mohamadbahmani opened this issue Feb 22, 2021 · 1 comment

Comments

@mohamadbahmani
Copy link

string regexPattern=@"^(?=.[a-z])(?=.[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$"

public static string GenerateRandomStringFromRegex(string regexPattern)
        {
            var xeger = new Xeger(
            return xeger.Generate();
        }
@gregsdennis
Copy link

Maybe a duplicate of #5?

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

No branches or pull requests

2 participants