Help for this page

Select Code to Download


  1. or download this
    my $re1 = qr/beer=(\d{2}).*chips=(\d{3})/;
    my $re2 = qr/vodka=(\d{2})/;
    ...
        #use that capture and go on...
      }
    }
    
  2. or download this
    "cat:dog" =~ /(cat)*/;
    
  3. or download this
    "dog:cat" =~ /(cat)*/;