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

regular expression not supporting capture and repetitions at the same time #2

Open
MarioRuiz opened this issue Jan 9, 2019 · 0 comments
Labels
regexp all issues related to regular expressions

Comments

@MarioRuiz
Copy link
Owner

It is not possible to generate strings using a regular expression that uses repetitions of captures, for example:

puts /(\w)+/.gen

For the moment it is possible to do it inside the capture like this:

puts /(\w+)/.gen
@MarioRuiz MarioRuiz added the regexp all issues related to regular expressions label Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regexp all issues related to regular expressions
Projects
None yet
Development

No branches or pull requests

1 participant