Help for this page

Select Code to Download


  1. or download this
    my $pattern = '\b(?:' . join('|', @tokens) . ')\b';
    
  2. or download this
    my $pattern = join('|', @tokens);
    
  3. or download this
    my $pattern = '^(?:' . join('|', @tokens) . ')[^a-zA-Z]*$';
    
  4. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
    }
    close($infile);
    close($outfile);