Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        print "       Expected: '$ref'\n";
        print "            Got: '$str'\n"
    }
    
  2. or download this
        $str =~ s/((?=N-+)(?:N)(?:-*?))(-{1,$maxLen}B)/$1 . ('B' x length 
    +$2)/eg;
        $str =~ s/(B-{1,$maxLen})(?=-*(N|$))/'B' x length $1/eg;