Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    (my $regex = $string) =~ s/(.)(?=.)/$1.*/g;
    say for grep /$regex/, @array1, @array2;