Help for this page

Select Code to Download


  1. or download this
    use Regexp::SlashN;
    
    "A
    ...
    $1 eq "A
    B
    C" or die;
    
  2. or download this
    package Regexp::SlashN;
    use overload;
    sub import { overload::constant qr => \ &convert }
    ...
        $re =~ s/\\([\\N])/$syntax{$1}/g;
        return $re;
    }