From: Ross Shaw Date: 2001-11-29T17:54:06+09:00 Subject: [ruby-talk:26878] Re: Anyone know of a Regexp pattern random string generator? "Mark Hahn" wrote in message > Does it have to generate multiple random strings or jast "any" string. > Generating a single string would be pretty easy. > Each call to Regexp#rand should return a random string which would completely match the Regexp - the next call would produce a different string. This is intended to be part of a larger system that given an XML schema would produce a valid XML file - I am looking at using this to produce random input test files (and their expected output files) to test a transformation engine with a sample of all possible inputs. Ross