{"action":"opened","issue":{"url":"https://api.github.com/repos/jsakamoto/ipaddressrange/issues/7","labels_url":"https://api.github.com/repos/jsakamoto/ipaddressrange/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jsakamoto/ipaddressrange/issues/7/comments","events_url":"https://api.github.com/repos/jsakamoto/ipaddressrange/issues/7/events","html_url":"https://github.com/jsakamoto/ipaddressrange/issues/7","id":58182340,"number":7,"title":"invalid CIDR","user":{"login":"M-Zuber","id":4746537,"avatar_url":"https://avatars.githubusercontent.com/u/4746537?v=3","gravatar_id":"","url":"https://api.github.com/users/M-Zuber","html_url":"https://github.com/M-Zuber","followers_url":"https://api.github.com/users/M-Zuber/followers","following_url":"https://api.github.com/users/M-Zuber/following{/other_user}","gists_url":"https://api.github.com/users/M-Zuber/gists{/gist_id}","starred_url":"https://api.github.com/users/M-Zuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M-Zuber/subscriptions","organizations_url":"https://api.github.com/users/M-Zuber/orgs","repos_url":"https://api.github.com/users/M-Zuber/repos","events_url":"https://api.github.com/users/M-Zuber/events{/privacy}","received_events_url":"https://api.github.com/users/M-Zuber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-19T09:02:27Z","updated_at":"2015-02-19T09:02:27Z","closed_at":null,"body":"What is the desired action if someone passes in the following ipcidr: `128.139.251.57/3212`?\r\n\r\nThe first `Regex` matches, but then an `IndexOutOfRangeException` is thrown when trying to build the `BitMask`.\r\nIf we where to make the first `Regex` stricter, there would still be a problem as this string also passes the `Regex` for a `netmask`.\r\n\r\n-as an aside: should it be considered to let the `TryParse` catch more than just `FormatException`?"}}