Help for this page

Select Code to Download


  1. or download this
    print "Match1" if "aa1" =~ /^(a)\1(1)$/; #of course this places 1 in $
    +2
    
  2. or download this
    print "match" if "aa1" =~ /^(a)\1(?:[^\s\S]*)1$/; #buwahahaha... kind 
    +of the opposite of Perl Golf...