bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Regular expression matching


From: Gijs van Tulder
Subject: Re: [Bug-wget] Regular expression matching
Date: Wed, 11 Apr 2012 00:41:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Hi,

Here is a new version of the regular expressions patch. The new version combines POSIX (always, from gnulib) and PCRE (if available).

The patch adds these options:

 --accept-regex="..."
 --reject-regex="..."

 --regex-type=posix   for POSIX extended regexes (the default)
 --regex-type=pcre    for PCRE regexes (if PCRE is available)

In reference to the --match-query-string patch: since the regexes look at the complete URL, you can also use them to match the query string.

Regards,

Gijs

Attachment: wget-regex.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]