in reply to Re^2: Compiling Regular Expressions
in thread Compiling Regular Expressions

You must be using a version of perl that is less than v5.18, as this behaviour works for me on 5.18+, and is documented as such in v5.18 perldelta... search for "The use re 'eval' pragma".