Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "for my $sr ('k\s', 'k\\s', 'k\\\\s', qr{ k \\ s }xms, qr{k\\s}xms) {
    ...
    'remove back\slash' 'k\\s' -> 'remove bacxxlash'
    'remove back\slash' (?^msx: k \\ s ) -> 'remove bacxxlash'
    'remove back\slash' (?^msx:k\\s) -> 'remove bacxxlash'
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $inputtext = qq{a multi line\nstring and\nanother line\nthing here
    +\n};
    ...
    <<a multi xx-xx and
    another xx-xx here
    >>