Help for this page

Select Code to Download


  1. or download this
    $filename_b = "c:\\\\abc.log";
    
  2. or download this
    $filename_a = "c:\\abc.log";
    $filename_b = "c:\\abc.log";
    ...
    print "\n";
    print "Do they match ? : ";
    print $filename_a =~ /$filename_b_re/ ; # output is 1
    
  3. or download this
    $filename_a = "c:/abc.log";
    $filename_b = "c:/abc.log";