{"action":"created","issue":{"url":"https://api.github.com/repos/medialize/URI.js/issues/274","labels_url":"https://api.github.com/repos/medialize/URI.js/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/medialize/URI.js/issues/274/comments","events_url":"https://api.github.com/repos/medialize/URI.js/issues/274/events","html_url":"https://github.com/medialize/URI.js/issues/274","id":125619095,"number":274,"title":"Support RegExp for hasQuery name","user":{"login":"mbrodala","id":5037116,"avatar_url":"https://avatars.githubusercontent.com/u/5037116?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrodala","html_url":"https://github.com/mbrodala","followers_url":"https://api.github.com/users/mbrodala/followers","following_url":"https://api.github.com/users/mbrodala/following{/other_user}","gists_url":"https://api.github.com/users/mbrodala/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrodala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrodala/subscriptions","organizations_url":"https://api.github.com/users/mbrodala/orgs","repos_url":"https://api.github.com/users/mbrodala/repos","events_url":"https://api.github.com/users/mbrodala/events{/privacy}","received_events_url":"https://api.github.com/users/mbrodala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medialize/URI.js/labels/QueryString","name":"QueryString","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-08T14:08:42Z","updated_at":"2016-01-08T15:37:33Z","closed_at":"2016-01-08T15:37:33Z","body":"`URI.hasQuery` does not allow RegExp for parameter names like for values. The following would be a nice complement to the RegExp support in `URI.removeQuery`:\r\n\r\n```\r\nvar uri = URI(\"http://example.org/?foo[bar]=1&foo[qux]=2\");\r\n\r\nuri.hasQuery(/^foo/); // true\r\nuri.hasQuery(/^baz/); // false\r\n```"},"comment":{"url":"https://api.github.com/repos/medialize/URI.js/issues/comments/170033636","html_url":"https://github.com/medialize/URI.js/issues/274#issuecomment-170033636","issue_url":"https://api.github.com/repos/medialize/URI.js/issues/274","id":170033636,"user":{"login":"rodneyrehm","id":186837,"avatar_url":"https://avatars.githubusercontent.com/u/186837?v=3","gravatar_id":"","url":"https://api.github.com/users/rodneyrehm","html_url":"https://github.com/rodneyrehm","followers_url":"https://api.github.com/users/rodneyrehm/followers","following_url":"https://api.github.com/users/rodneyrehm/following{/other_user}","gists_url":"https://api.github.com/users/rodneyrehm/gists{/gist_id}","starred_url":"https://api.github.com/users/rodneyrehm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodneyrehm/subscriptions","organizations_url":"https://api.github.com/users/rodneyrehm/orgs","repos_url":"https://api.github.com/users/rodneyrehm/repos","events_url":"https://api.github.com/users/rodneyrehm/events{/privacy}","received_events_url":"https://api.github.com/users/rodneyrehm/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T15:37:33Z","updated_at":"2016-01-08T15:37:33Z","body":"thank you! :)"}}