{"action":"created","issue":{"url":"https://api.github.com/repos/floere/phony/issues/239","labels_url":"https://api.github.com/repos/floere/phony/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/floere/phony/issues/239/comments","events_url":"https://api.github.com/repos/floere/phony/issues/239/events","html_url":"https://github.com/floere/phony/pull/239","id":64899871,"number":239,"title":"support Japanese 0x0 non-Geographic area codes with 11 digits numbers","user":{"login":"mcaramello","id":4595796,"avatar_url":"https://avatars.githubusercontent.com/u/4595796?v=3","gravatar_id":"","url":"https://api.github.com/users/mcaramello","html_url":"https://github.com/mcaramello","followers_url":"https://api.github.com/users/mcaramello/followers","following_url":"https://api.github.com/users/mcaramello/following{/other_user}","gists_url":"https://api.github.com/users/mcaramello/gists{/gist_id}","starred_url":"https://api.github.com/users/mcaramello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcaramello/subscriptions","organizations_url":"https://api.github.com/users/mcaramello/orgs","repos_url":"https://api.github.com/users/mcaramello/repos","events_url":"https://api.github.com/users/mcaramello/events{/privacy}","received_events_url":"https://api.github.com/users/mcaramello/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-28T05:10:57Z","updated_at":"2015-04-07T10:50:18Z","closed_at":"2015-03-29T08:23:39Z","pull_request":{"url":"https://api.github.com/repos/floere/phony/pulls/239","html_url":"https://github.com/floere/phony/pull/239","diff_url":"https://github.com/floere/phony/pull/239.diff","patch_url":"https://github.com/floere/phony/pull/239.patch"},"body":"Basing on https://en.wikipedia.org/wiki/Telephone_numbers_in_Japan#Non-geographic_area_codes + https://en.wikipedia.org/wiki/Telephone_numbers_in_Japan#Length_of_numbers\r\nthere are 11 digits long Japanese numbers that have Non geographic area codes 020, 030, 040, 050, 060, 070, 080, 090 (note that 010 is not included since it has special purpose).\r\n\r\nThis means valid phone numbers such as '+81 070 1234 5789' are rejected.\r\n\r\nAccording to the same section, also 10 digits numbers with the same non geographic area codes could exist but when I tried modifying like this:\r\n```\r\n+ one_of(ndcs_with_11_subscriber_numbers) >> split(3,4) |\r\n  one_of(ndcs_with_11_subscriber_numbers) >> split(4,4) | # 3-digit non-Geographic area codes (excluding 010)\r\n```\r\n'+81 070 1234 5789' -like numbers started getting rejected whereas '+81 070 123 5789' were accepted. Leaving those aside for now while I figure out where these types of numbers are coming from."},"comment":{"url":"https://api.github.com/repos/floere/phony/issues/comments/90505623","html_url":"https://github.com/floere/phony/pull/239#issuecomment-90505623","issue_url":"https://api.github.com/repos/floere/phony/issues/239","id":90505623,"user":{"login":"floere","id":3022,"avatar_url":"https://avatars.githubusercontent.com/u/3022?v=3","gravatar_id":"","url":"https://api.github.com/users/floere","html_url":"https://github.com/floere","followers_url":"https://api.github.com/users/floere/followers","following_url":"https://api.github.com/users/floere/following{/other_user}","gists_url":"https://api.github.com/users/floere/gists{/gist_id}","starred_url":"https://api.github.com/users/floere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floere/subscriptions","organizations_url":"https://api.github.com/users/floere/orgs","repos_url":"https://api.github.com/users/floere/repos","events_url":"https://api.github.com/users/floere/events{/privacy}","received_events_url":"https://api.github.com/users/floere/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T10:50:18Z","updated_at":"2015-04-07T10:50:18Z","body":"I will revert your change, but will be happy to accept other pull requests. Thanks for your interest, help and work :)"}}