Help for this page

Select Code to Download


  1. or download this
    print "Match!\n" if $string =~ m/([[:alpha:]])\1/; # Probably good.
    
  2. or download this
    print "Match!\n" if $string =~ m/([a-zA-Z])\1/; # Maybe bad!