{"action":"closed","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/3026","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3026/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3026/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3026/events","html_url":"https://github.com/crystal-lang/crystal/issues/3026","id":166820578,"number":3026,"title":"StringScanner Strange behavior..","user":{"login":"song9446","id":6138947,"avatar_url":"https://avatars.githubusercontent.com/u/6138947?v=3","gravatar_id":"","url":"https://api.github.com/users/song9446","html_url":"https://github.com/song9446","followers_url":"https://api.github.com/users/song9446/followers","following_url":"https://api.github.com/users/song9446/following{/other_user}","gists_url":"https://api.github.com/users/song9446/gists{/gist_id}","starred_url":"https://api.github.com/users/song9446/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/song9446/subscriptions","organizations_url":"https://api.github.com/users/song9446/orgs","repos_url":"https://api.github.com/users/song9446/repos","events_url":"https://api.github.com/users/song9446/events{/privacy}","received_events_url":"https://api.github.com/users/song9446/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-21T13:34:24Z","updated_at":"2016-07-21T14:21:23Z","closed_at":"2016-07-21T14:21:23Z","body":"I've not lived in English culture, so Please forgive my awkward English. \r\n\r\nStringScanner::scan doesn't scan over the new line.\r\n\r\nexample : \r\n\r\n```cr\r\ns = \"crystal\\nlang\"\r\nscanner = StringScanner.new(s)\r\nscanner.scan(/g/) # = Nil\r\nputs scanner.offset # = 0\r\n```\r\n\r\ndo I wrong way to use the scanner?"}}
{"actor":{"display_login":"song9446"}}