in reply to Generating string that conforms to a regexp

There is a module called String::Random. It has a function randregex which might do what you want.

Replies are listed 'Best First'.
Re: Re: Generating string that conforms to a regexp
by asiufy (Monk) on Feb 22, 2002 at 22:45 UTC
    I have looked at that module, and while it seems pretty good, its regexp capabilities are way too limited, and it hasn't been updated in almost 2 years ... I will take some time to go over the module's code to see if I can do something...