Generating regex strings with a regex

Or with Rexexp::Genex:

perl -MRegexp::Genex=:all -le 'print for strings(qr/(.*)test(.*)/)' 3'e3''test 3'e3'test~ 3'e3'test 3'e3test ╠ 3'e3test  3'e3test 3'etest 3'etest 3'etest 3'etest 3'test╠e  3'test╠e 3'test╠e 3'test╠ 3'test 3test~ 3test test

In reply to Re: Reverse engineering regular expressions by bsb
in thread Reverse engineering regular expressions by paulski

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":