Help for this page

Select Code to Download


  1. or download this
    use v5.12;
    use warnings;
    use Data::Dump qw/pp dd/;
    ...
    
    Input: $S = "abcde" $P = "a*c?e"
    Output: 1
    
  2. or download this
    C:/Perl_524/bin\perl.exe -w d:/tmp/pm/weekly_challenge.pl 
    ok 1 - Example 1 $S = "abcde" ;$P = "a*e"
    ...
    ok 3 - Example 3 $S = "abcde" ;$P = "?b*d"
    ok 4 - Example 4 $S = "abcde" ;$P = "a*c?e"
    1..4