Help for this page

Select Code to Download


  1. or download this
    "abbbbc"=~/(b*)/g && print "Found: $1";
    # Found:
    
  2. or download this
    my $string1 = "abbbbc";
    
    my $found1 = $string1 =~ s/(b*)/^/g;
    ...
                 "c"        |
         no "b" after "c"    |
    =cut