s:/\*([\0-\255]*?)\*/:($1=~s/[^\n]//g):g; ^^^^^^^^^^^^^^^^ nested replace is seen as text and not executed