[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Any limits on -X? Last item being ignored
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] Any limits on -X? Last item being ignored |
Date: |
Thu, 16 Dec 2010 11:07:05 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
(12/15/2010 03:27 AM), Henry C. wrote:
> On Mon, December 13, 2010 19:25, Micah Cowan wrote:
>> ... -R rejects for filenames; but at this time,
>> there isn't anything that matches against anything that comes after the
>> question mark ("query strings").
>
>
> ouch, I just ran some tests and you're right. My silly assumption was way
> off.
>
> I think I'll need to add to my toolkit of patches another arg so I can do:
>
> --ignore-regex='[.]html[?]foo=bar,[?]foo=xyz$' etc
>
> libpcre should do just fine with maximum flexibility.
Although, since the current dev sources use gnulib, gnulib's regex
module makes an easy solution as well. I think the eventual plan is to
use that (though they might go for PCRE, I dunno).
--
Micah J. Cowan
http://micah.cowan.name/