{"action":"created","issue":{"url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/395","repository_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift","labels_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/395/comments","events_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/395/events","html_url":"https://github.com/SwifterSwift/SwifterSwift/issues/395","id":295683765,"number":395,"title":"StringExtensions - isNumeric - incorrect behavior ","user":{"login":"seifeet","id":1034584,"avatar_url":"https://avatars2.githubusercontent.com/u/1034584?v=4","gravatar_id":"","url":"https://api.github.com/users/seifeet","html_url":"https://github.com/seifeet","followers_url":"https://api.github.com/users/seifeet/followers","following_url":"https://api.github.com/users/seifeet/following{/other_user}","gists_url":"https://api.github.com/users/seifeet/gists{/gist_id}","starred_url":"https://api.github.com/users/seifeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seifeet/subscriptions","organizations_url":"https://api.github.com/users/seifeet/orgs","repos_url":"https://api.github.com/users/seifeet/repos","events_url":"https://api.github.com/users/seifeet/events{/privacy}","received_events_url":"https://api.github.com/users/seifeet/received_events","type":"User","site_admin":false},"labels":[{"id":417816953,"url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/labels/confirmed%20bug:%20source","name":"confirmed bug: source","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-08T22:10:53Z","updated_at":"2018-02-08T23:34:00Z","closed_at":null,"author_association":"NONE","body":"### What did you do?\r\npo \"1-2\".isNumeric\r\ntrue\r\n\r\n\t/// SwifterSwift: Check if string contains only numbers.\r\n\t///\r\n\t///\t\t\"123\".isNumeric -> true\r\n\t///\t\t\"abc\".isNumeric -> false\r\n\t///\r\n\r\n### What did you expect to happen?\r\nShould be false\r\n\r\n\r\n### What happened instead?\r\nReturned true\r\n\r\n### SwifterSwift Environment\r\n\r\n- SwifterSwift version: 4.1\r\n- Xcode version: 9.2\r\n- macOS version running Xcode: High Sierra\r\n- Swift version: 4\r\n- Platform(s) running SwifterSwift: iOS\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/comments/364285172","html_url":"https://github.com/SwifterSwift/SwifterSwift/issues/395#issuecomment-364285172","issue_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/395","id":364285172,"user":{"login":"seifeet","id":1034584,"avatar_url":"https://avatars2.githubusercontent.com/u/1034584?v=4","gravatar_id":"","url":"https://api.github.com/users/seifeet","html_url":"https://github.com/seifeet","followers_url":"https://api.github.com/users/seifeet/followers","following_url":"https://api.github.com/users/seifeet/following{/other_user}","gists_url":"https://api.github.com/users/seifeet/gists{/gist_id}","starred_url":"https://api.github.com/users/seifeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seifeet/subscriptions","organizations_url":"https://api.github.com/users/seifeet/orgs","repos_url":"https://api.github.com/users/seifeet/repos","events_url":"https://api.github.com/users/seifeet/events{/privacy}","received_events_url":"https://api.github.com/users/seifeet/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T23:34:00Z","updated_at":"2018-02-08T23:34:00Z","author_association":"NONE","body":"@SD10 @wdcurry would it make sense to have 2 separate functions?\r\n\r\nisDigits - checks whether the String contains only digit characters.\r\nisNumeric - checks whether the String a valid number.\r\n"}}
{"actor":{"display_login":"seifeet"}}