string_pattern icon indicating copy to clipboard operation
string_pattern copied to clipboard

regular expression not supporting capture and repetitions at the same time

Open MarioRuiz opened this issue 6 years ago • 0 comments

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 avatar Jan 09 '19 16:01 MarioRuiz