Help for this page

Select Code to Download


  1. or download this
    print('*' =~ /^[*]$/ ? 'match' : 'no match', "\n");  # match
    print(']' =~ /^[*]$/ ? 'match' : 'no match', "\n");  # no match
    print(''  =~ /^[*]$/ ? 'match' : 'no match', "\n");  # no match