"be consistent" | |
PerlMonks |
Edit distance between regular expressionby future.open (Initiate) |
on Sep 08, 2008 at 05:49 UTC ( [id://709711]=perlquestion: print w/replies, xml ) | Need Help?? |
future.open has asked for the wisdom of the Perl Monks concerning the following question:
I need to calculate edit distance~ between two regex's. e.g distance between *cd* and abcdef should be 0. distance between *cxd* and adcdef should be 1. I am not sure about how to proceed. ~http://en.wikipedia.org/wiki/Levenshtein_distance Here I am talking about glob....and the comparison is between a regex and a static string
Back to
Seekers of Perl Wisdom
|
|