Your question has implications very like this recent thread: Reverse regexp a regexp?
However, YAPE::Regex::Explain may do something like what you want.
HTH,
planetscapeIn reply to Re: Break down a regex expression into single regex?
by planetscape
in thread Break down a regex expression into single regex?
by zen0n
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |