{"action":"created","issue":{"url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/59","labels_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/59/comments","events_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/59/events","html_url":"https://github.com/JuanitoFatas/fast-ruby/pull/59","id":99520070,"number":59,"title":"String#=~ faster than String#match","user":{"login":"schneems","id":59744,"avatar_url":"https://avatars.githubusercontent.com/u/59744?v=3","gravatar_id":"","url":"https://api.github.com/users/schneems","html_url":"https://github.com/schneems","followers_url":"https://api.github.com/users/schneems/followers","following_url":"https://api.github.com/users/schneems/following{/other_user}","gists_url":"https://api.github.com/users/schneems/gists{/gist_id}","starred_url":"https://api.github.com/users/schneems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schneems/subscriptions","organizations_url":"https://api.github.com/users/schneems/orgs","repos_url":"https://api.github.com/users/schneems/repos","events_url":"https://api.github.com/users/schneems/events{/privacy}","received_events_url":"https://api.github.com/users/schneems/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-06T20:38:58Z","updated_at":"2015-08-07T05:32:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/pulls/59","html_url":"https://github.com/JuanitoFatas/fast-ruby/pull/59","diff_url":"https://github.com/JuanitoFatas/fast-ruby/pull/59.diff","patch_url":"https://github.com/JuanitoFatas/fast-ruby/pull/59.patch"},"body":"If you're only looking for presence of a match and don't need the matchdata, use String#=~ \r\n\r\nhttps://github.com/schneems/rails/commit/1bf50badd943e684a56a03392ef0ddafefca0ad7#commitcomment-12572839"},"comment":{"url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/comments/128604076","html_url":"https://github.com/JuanitoFatas/fast-ruby/pull/59#issuecomment-128604076","issue_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/59","id":128604076,"user":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T05:32:38Z","updated_at":"2015-08-07T05:32:38Z","body":"> String#=== doesn't work, it's not the correct result.\r\n\r\nYup. The https://github.com/JuanitoFatas/fast-ruby/pull/59#issuecomment-128562623 is wrong.\r\n\r\n--\r\n\r\nLet's keep this simple since the regexp need to flip the string to be compared to the end. Which is counterintuitive"}}