On Mon, 15 Oct 2001, Phil Glatz wrote:

> so I tried:
> limit_urls_to:    /[0-9]
> 
> no matches were found
> 
> is my syntax correct, or am I trying to accomplish the impossible?

No, your syntax isn't quite right.

In order to maintain backwards compatibility with previous incarnations of
configuration files (e.g. .html means \.html), regular expressions must be
escaped with [] and these outer brackets will then be discarded.

http://www.htdig.org/dev/htdig-3.2/cf_types.html

So for example if you wanted to match *.txt, this would be:

limit_urls_to: [*.txt]

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to