Skip to main content.
home | support | download

Back to List Archive

TR: FileFilterMatch not working ?

From: GUEGAN Ronald <rguegan(at)not-real.sigma.fr>
Date: Tue Jun 11 2002 - 08:58:19 GMT
You were right, we had a wrong version. We tried the 3/22/2002 and it WORKED
!
Thanks a lot. 

-----Message d'origine-----
De : Bill Moseley [mailto:moseley@hank.org]
Envoyé : lundi 10 juin 2002 18:31
À : rguegan@sky.sigma.fr; Multiple recipients of list
Objet : Re: [SWISH-E] FileFilterMatch not working ?


At 09:17 AM 06/10/02 -0700, GUEGAN Ronald wrote:
>I am trying to filter the files I am indexing using the FileFilterMatch
>directive in my config file, but
>I can't make it work, i am stuck with the following error message : 
>    bad directive on line #65 ....

Are you using a version of swish-e that supports that option?  On Windows
I'm using the 3/22/2002 version.


>here's what I tried :
>
>	FileFilterMatch D:/InetPub/Data/myProg.exe  "%p %P" "/\\.asp$/"
>	FileFilterMatch D:/InetPub/Data/myProg.exe "%p %P" /\\.asp$/
>	FileFilterMatch D:/InetPub/Data/myProg.exe "%p %P" /\.asp$/

I just did this:

  FileFilterMatch ./filter.pl "%p %P" /\.html$/

and it worked.

I also tried on Windows with:

  FileFilterMatch perl "./filter.pl %p %P" /\.html$/

and it also worked.
  

BTW - you should be able to debug the regex stuff

> ./swish-e -c c -i 1.html -T regex -v0
match 1.html =~ m[\.html$] : matched


-- 
Bill Moseley
mailto:moseley@hank.org
Received on Tue Jun 11 09:03:12 2002