in reply to Regexp generating strings?

You may want to have a look at String::Random. It doesn't do full regular expressions, but at least it generates random strings satisfying a "pattern" that can be a subset of real Perl regular expressions.

Hope this helps, -gjb-