Gilles Detillieux (email@example.com)
Tue, 5 Jan 1999 15:05:34 -0600 (CST)
According to Geoff Hutchison:
> At 2:58 PM -0500 1/4/99, Gunnar Helliesen wrote:
> >OK, after reading this I upgraded to version 3.1.0b4 today. "exclude"
> >now works, but not with regular expressions. I can get htsearch to
> >exclude a literal string anywhere in the URL, but it doesn't understand
> >regexps as far as I can tell.
> This is correct. I don't believe it says anything about regexps anywhere in
> the documentation. It would be a good feature request (hey, send it to
> >but I _do_ want all documents below that directory containing any of the
> >search words to be returned. For example, this document should be
> >I tried setting "exclude" to "/$" and "\/$" (the latter shouldn't really
> >be necessary, should it?) and ".*/$" with no effect. Directory indices
> >were still returned.
> I'd use restrict. Something like this should work
> This will make sure all pages will have URLs that match *both* restrict
Actually, no. Multiple restrict patterns will make sure that all pages
have URLs that match *any* of the patterns, not *all* of the patterns.
will allow pages from any of the three subdirectories listed.
Unfortunately, I don't see an easy way of doing what Gunnar asks.
The use of regular expressions in exclude and restrict lists has been
requested or suggested before, but hasn't ever been implemented in
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 ---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to email@example.com containing the single word "unsubscribe" in the body of the message.
This archive was generated by hypermail 2.0b3 on Thu Jan 07 1999 - 07:52:38 PST