Help for this page

Select Code to Download


  1. or download this
    $line = sprintf qq{Test #1 'Show me Waynes world','Jennys Basketball s
    +hoes'\n};
    print $line;   # <- added this line
    ...
    print $line;   # <- added this line
    $line =~ s/(')[^'\\]*(?:\\.[^'\\]*)*(')/$1SSS$2/g;
    print $line;