in reply to Analysis of Regular Expressions

I have to admit that I don't fully understand what you want ... (I'm not even sure you do... ;-)

This sounds like an automatic analysis of programs, which is often proved to be impossible.

Anyway maybe the discussion in this thread "Regexp generating strings?" and this module "Regexp::Genex" can be of help for you.

Cheers Rolf