"Tony Lewis" <[EMAIL PROTECTED]> writes: > Maciej W. Rozycki wrote: > >> Hmm, it's too fragile in my opinion. What if a new version of Apache >> defines a new format? > > I think all of the expressions proposed thus far are too fragile. Consider > the following URL: > > http://www.google.com/search?num=100&q=%2Bwget+-GNU
That URL will not match the proposed pattern. As Maciej said, Wget's "reject" feature implements shell-style patterns that are much simpler than regexps. Also, they always match the entire string by default.
