Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
    
    print $f=~/(?=^[ABC]+$)/? "Matches [ABC] Combinations\n": "No pattern 
    +found!\n";
    print $s=~/(?=^[ABC]+$)/? "Matches [ABC] Combinations\n": "No pattern 
    +found!\n";
    
  2. or download this
    #OUTPUT:
    Matches [ABC] Combinations
    No pattern found
    
  3. or download this