Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print "AB =~ /A.*B/ --> ";
    print "worked" if "AB" =~ /A.*B/;
    print "\n";
    
  2. or download this
    A-B =~ /A.+B/ --> worked
    A-B =~ /A.*B/ --> worked
    AB =~ /A.+B/ -->
    AB =~ /A.*B/ --> worked