|
|
[Perlfect-search] need to exclude certain directory types
Daniel Naber daniel.naber@t-online.de
Fri, 3 Nov 2000 20:02:32 +0100
On 2000-11-03 18:21, you wrote:
> exclude directories with certain names at a "higher level" in the
> conf.pl or indexer.pl?
No, because you currently have to specify full pathes for the
files/directories. However, you could change this line in indexer.pl:
next FILE if $file =~ m/^$regexp$/;
To this line:
next FILE if $file =~ m/$regexp/; # ^ and $ are "missing"
Then you can put any regular expression in no_index.txt to describe the
files that should be ignored.
Regards
Daniel
--
Daniel Naber, Paul-Gerhardt-Str. 2, 33332 G�tersloh
Tel. 05241-59371, Mobil 0170-4819674
|
|