|P is for Practical|
help with minimal matchesby Anonymous Monk
|on Mar 18, 2001 at 10:42 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Can someone help or direct me to the answer?
I have a flattext dbase. I want to let people search by inputing their search strings. But I want to minimize the matches to only 4-5 characters. Ok, that was not very clear.
Let's say the item in my dbase is "saturday".
Basically, I want to return "abc4567def" as a match when the users query with either "1234567890" or
The minimal match function does not seem to fit this case
Thank you for any help. Danny