in reply to Quickie Question: RegEx matching problem

Hi hmbscully,

It looks like the problem you're having is the $o in your string; it is trying to substitute in the value of the variable $o.  Try escaping the '$' and the '@' with:  D3E' C\@\$o*r(-A[].Mick.

By the way, if you had used:

use strict; use warnings;

at the top of your program, it would have warned you of the fact that $o was undefined.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/