For simple regex's that is easy. For some it is impossible. For example consider:

/$interpolated/ /(?(?{rand})this|that)/

Perl is Huffman encoded by design.

In reply to Re: Reverse engineering regular expressions by GrandFather
in thread Reverse engineering regular expressions by paulski

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":