El 29/05/12 22:23, wesley escribió:
> The man page doesn't make any mention of -D accepting patterns (and
> trying it seems to indicate it doesn't), so assuming there isn't
> already a way to do this, this is also a feature request.
>
> I'm interested in capturing a certain subset of subdomains of the form
> img*.example.com. Setting -Dexample.com pulls in bunch of links I'm
> not interested in, and -p alone doesn't do the trick.
>
> Any guidance on a way to accomplish this would be much appreciated.
>
> Thanks :)
Glob characters are illegal in domain names, so I don't see any problem
with that.
You'd want to use fnmatch_nocase()