{"action":"created","issue":{"url":"https://api.github.com/repos/iziz/libPhoneNumber-iOS/issues/67","labels_url":"https://api.github.com/repos/iziz/libPhoneNumber-iOS/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/iziz/libPhoneNumber-iOS/issues/67/comments","events_url":"https://api.github.com/repos/iziz/libPhoneNumber-iOS/issues/67/events","html_url":"https://github.com/iziz/libPhoneNumber-iOS/issues/67","id":75980965,"number":67,"title":"isViablePhoneNumber returns true for number that cannot be parsed","user":{"login":"larsekman","id":124300,"avatar_url":"https://avatars.githubusercontent.com/u/124300?v=3","gravatar_id":"","url":"https://api.github.com/users/larsekman","html_url":"https://github.com/larsekman","followers_url":"https://api.github.com/users/larsekman/followers","following_url":"https://api.github.com/users/larsekman/following{/other_user}","gists_url":"https://api.github.com/users/larsekman/gists{/gist_id}","starred_url":"https://api.github.com/users/larsekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsekman/subscriptions","organizations_url":"https://api.github.com/users/larsekman/orgs","repos_url":"https://api.github.com/users/larsekman/repos","events_url":"https://api.github.com/users/larsekman/events{/privacy}","received_events_url":"https://api.github.com/users/larsekman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-13T13:20:18Z","updated_at":"2015-05-26T14:14:43Z","closed_at":null,"body":"I am parsing the numbers in the user's contact list, and the following number causes the parse function to crash:\r\n\r\n\"927636539 nytt- (old)533021236\"\r\n\r\nIn order to prevent crashes like this, I run isViablePhoneNumber on every number before attempting a parse. This works for many \"numbers\" that are in fact things like user account names or other text strings, but for the above number, it does return true, even though supplying that number to the parse function causes it to crash."},"comment":{"url":"https://api.github.com/repos/iziz/libPhoneNumber-iOS/issues/comments/105538644","html_url":"https://github.com/iziz/libPhoneNumber-iOS/issues/67#issuecomment-105538644","issue_url":"https://api.github.com/repos/iziz/libPhoneNumber-iOS/issues/67","id":105538644,"user":{"login":"larsekman","id":124300,"avatar_url":"https://avatars.githubusercontent.com/u/124300?v=3","gravatar_id":"","url":"https://api.github.com/users/larsekman","html_url":"https://github.com/larsekman","followers_url":"https://api.github.com/users/larsekman/followers","following_url":"https://api.github.com/users/larsekman/following{/other_user}","gists_url":"https://api.github.com/users/larsekman/gists{/gist_id}","starred_url":"https://api.github.com/users/larsekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsekman/subscriptions","organizations_url":"https://api.github.com/users/larsekman/orgs","repos_url":"https://api.github.com/users/larsekman/repos","events_url":"https://api.github.com/users/larsekman/events{/privacy}","received_events_url":"https://api.github.com/users/larsekman/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T14:14:43Z","updated_at":"2015-05-26T14:14:43Z","body":"I will try this now and get back to you."}}