in reply to CPAN module for generating regexp matches

bgu: An application that seems to almost exactly match the requirements you give is described in Dominus's book "Higher Order Perl" (freely downloadable here) in section 4.3.2 "Genomic Sequence Generator". A more general discussion of generating strings given a regex is contained in section 6.5 "Regex String Generation".

  • Comment on Re: CPAN module for generating regexp matches

Replies are listed 'Best First'.
Re^2: CPAN module for generating regexp matches
by bgu (Novice) on Feb 29, 2012 at 11:47 UTC

    Thanks toolic,

    I've just tried Regexp::Genex and it works fine, I will do some tweaks for the character sets, but yeah, most of the actual string generation is covered.

    AnomalousMonk, great tip with that book, found a lot of valuable stuff in there, very neatly explained