in reply to Re^2: regex compilation
in thread regex compilation

So I need to double all the backslashes.

I would say that you need to use  qr// to build Regexp objects. These objects behave essentially like strings in the situations in which you seem to be interested in using them.


Give a man a fish:  <%-{-{-{-<