You were right, we had a wrong version. We tried the 3/22/2002 and it WORKED
Thanks a lot.
De : Bill Moseley [mailto:firstname.lastname@example.org]
Envoyé : lundi 10 juin 2002 18:31
À : email@example.com; 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
Received on Tue Jun 11 09:03:12 2002