Help for this page

Select Code to Download


  1. or download this
    $_ = "Goodbye\\; Good luck\\, and thanks for all the fish!\\\n\\\n";
    
    ...
    s/\\([;,\n])/$+/g;            # Does work
    
    print "<$_>\n";
    
  2. or download this
    $_ = "Goodbye\\; Good luck\\, and thanks for all the fish!\\n\\n";
    
    ...
    s/(\\.)/qq{"$1"}/eeg;
    
    print qq{<$_>\n};