Help for this page

Select Code to Download


  1. or download this
                  if($str =~ s/XLVIII$/IL/    or
                     $str =~ s/VIII$/IX/      or
    ...
                     $str =~ s/([VXLCDM])$/$1I/) { }
    
                  return $str;
    
  2. or download this
                  if($str !~ /[IVXLCDM]+/         ||
                     $str =~ /([IXC])\1{3,}/      ||
    ...
                  }
    
                  return 1;