Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: Approximate Matching

Perl: Approximate Matching
{filelink=13221}

#!/usr/bin/perl -w
use String::Approx qw(amatch);
open(FH, "c:/test.txt")
	 or die "Cannot open this file: $!";
while()
{
    # Find all words that looks like 'sako'
    print if amatch("sako");
}

Users who found this page were searching for:

  • approximate matching of regular expressions
  • perl approximate matching

No comments yet.

Leave a Comment