Sorry !
Your code works correct ! Thanks!!
In my code I did not have the last $x
$string =~ s:/ \* (.*?) \*/ : (my $x = $1) =~ s/[^\n]//g; $x :gsex; ^^
In reply to Re^3: nested replace
by Anonymous Monk
in thread nested replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |