Perlfect Solutions
 

[Perlfect-search] Searching for substrings

Daniel Naber daniel.naber@t-online.de
Tue, 10 Oct 2000 19:37:34 +0200
On Tuesday 10 October 2000 19:34, you wrote:

> When I call search.pl, I want my query string to match a part of the
> indexed words and not necessarily the exact word.

If an asterisk at the end of the word is enough, go to 
http://mini.gt.owl.de/~dnaber/perlfect/ ("joker.diff"). It's simple to 
extend this so you can use the joker anywhere (actually, you could extend 
it to be a real regular expression). But isn't very fast if you have many 
(>1000) documents.

Regards
 Daniel