`^http://dntx\.com/([^?]*)` will match `http://dntx.com/?foo` (for the same reason that we don't need to use `^http://example\.com/.*` in order to match `http://example.com/foo`)