in reply to Re^2: "ee" in Regular Expression: version issue?
in thread "ee" in Regular Expression: version issue?
Yes, excellent. Perhaps the enclosing double-quotes (also) helps to disambiguate the expression. After the first eval, the interpreter sees this:
$var =~ s/(\d*?)-(.*?)-(.*)/$1$2$3/ee;
The substituting expression is problematic w/o either being interpolated via "$1$2$3" or concatenated using $1.$2.$3.
|
---|