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

Closed
mohamadbahmani opened this issue Feb 22, 2021 · 2 comments
Closed

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

mohamadbahmani opened this issue Feb 22, 2021 · 2 comments

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?

@moodmosaic
Copy link
Owner

Thank you for reporting this. It can be resolved as part of #5, so we can close this issue and continue the discussion there. Feel free to re-open if/when needed. 👍

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

3 participants