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 The regular expression needs to account for multiple arguments separated by ampersands. It also needs to account from any valid URI character between an equal sign and either end of string or an ampersand. I'm not fluent enough in regular expressions to compose one myself. (Some day I'll absorb all of Friedl's "Mastering Regular Expressions", but not today.) Tony