Micah Cowan wrote:

> On expanding current URI acc/rej matches to allow matching against query
> strings, I've been considering how we might enable/disable this
> functionality, with an eye toward backwards compatibility.

What about something like --match-type=TYPE (with accepted values of all,
hash, path, search)?

For the URL http://www.domain.com/path/to/name.html?a=true#content

all would match against the entire string
hash would match against "content"
path would match against "path/to/name.html"
search would match against "a=true"

For backward compatibility the default should be --match-type=path.

I thought about having "host" as an option, but that duplicates another
option.

Tony

Reply via email to