Does it have to generate multiple random strings or jast "any" string.
Generating a single string would be pretty easy.

-----Original Message-----
From: Ross Shaw [mailto:rshaw1961 / yahoo.com.au]
Sent: Wednesday, November 28, 2001 12:31 AM
To: ruby-talk ML; undisclosed-recipients:
Subject: [ruby-talk:26752] Anyone know of a Regexp pattern random string
generator?


I'm looking for some Ruby that given a Regexp pattern will generate a random
string that fulfills the pattern.

Does anyone know of such a beast?

If not does anyone know of any Perl or Python modules that I could use as a
starting point to write one myself.

Cheers

Ross Shaw