{"action":"created","issue":{"url":"https://api.github.com/repos/daddyz/phonelib/issues/70","repository_url":"https://api.github.com/repos/daddyz/phonelib","labels_url":"https://api.github.com/repos/daddyz/phonelib/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/daddyz/phonelib/issues/70/comments","events_url":"https://api.github.com/repos/daddyz/phonelib/issues/70/events","html_url":"https://github.com/daddyz/phonelib/issues/70","id":134233340,"number":70,"title":"Number Valid checker returns true for alphanumeric string","user":{"login":"prasathsarath","id":582473,"avatar_url":"https://avatars.githubusercontent.com/u/582473?v=3","gravatar_id":"","url":"https://api.github.com/users/prasathsarath","html_url":"https://github.com/prasathsarath","followers_url":"https://api.github.com/users/prasathsarath/followers","following_url":"https://api.github.com/users/prasathsarath/following{/other_user}","gists_url":"https://api.github.com/users/prasathsarath/gists{/gist_id}","starred_url":"https://api.github.com/users/prasathsarath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasathsarath/subscriptions","organizations_url":"https://api.github.com/users/prasathsarath/orgs","repos_url":"https://api.github.com/users/prasathsarath/repos","events_url":"https://api.github.com/users/prasathsarath/events{/privacy}","received_events_url":"https://api.github.com/users/prasathsarath/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-17T09:54:35Z","updated_at":"2016-03-08T16:21:53Z","closed_at":"2016-03-08T16:21:53Z","body":"Take a local US Number as  a string\r\nand append  and prepend a alphabets to the string\r\njust replace the xxx with a number which you know\r\nFor eg:\r\n`num_string = 'asfas+1xxxxxxxxxxfsafsffsafa'`\r\n` Phonelib.valid? num_string`\r\nIt returns true\r\nBut actually it should return false right?"},"comment":{"url":"https://api.github.com/repos/daddyz/phonelib/issues/comments/193846638","html_url":"https://github.com/daddyz/phonelib/issues/70#issuecomment-193846638","issue_url":"https://api.github.com/repos/daddyz/phonelib/issues/70","id":193846638,"user":{"login":"daddyz","id":1370959,"avatar_url":"https://avatars.githubusercontent.com/u/1370959?v=3","gravatar_id":"","url":"https://api.github.com/users/daddyz","html_url":"https://github.com/daddyz","followers_url":"https://api.github.com/users/daddyz/followers","following_url":"https://api.github.com/users/daddyz/following{/other_user}","gists_url":"https://api.github.com/users/daddyz/gists{/gist_id}","starred_url":"https://api.github.com/users/daddyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daddyz/subscriptions","organizations_url":"https://api.github.com/users/daddyz/orgs","repos_url":"https://api.github.com/users/daddyz/repos","events_url":"https://api.github.com/users/daddyz/events{/privacy}","received_events_url":"https://api.github.com/users/daddyz/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T16:21:53Z","updated_at":"2016-03-08T16:21:53Z","body":"@prasathsarath Hey, I added a ```Phonelib.strict_check``` flag, by default it's ```false```. Set it to ```true``` in initializer in order to get negative validation result for number with alphanumeric string.\r\nThanks for reporting."}}