{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10282","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10282/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10282/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10282/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10282","id":172249416,"number":10282,"title":"Challenge: Confirm the Ending passes with .endsWith()","user":{"login":"piq9117","id":12651509,"avatar_url":"https://avatars.githubusercontent.com/u/12651509?v=3","gravatar_id":"","url":"https://api.github.com/users/piq9117","html_url":"https://github.com/piq9117","followers_url":"https://api.github.com/users/piq9117/followers","following_url":"https://api.github.com/users/piq9117/following{/other_user}","gists_url":"https://api.github.com/users/piq9117/gists{/gist_id}","starred_url":"https://api.github.com/users/piq9117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piq9117/subscriptions","organizations_url":"https://api.github.com/users/piq9117/orgs","repos_url":"https://api.github.com/users/piq9117/repos","events_url":"https://api.github.com/users/piq9117/events{/privacy}","received_events_url":"https://api.github.com/users/piq9117/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/labels/tests","name":"tests","color":"e11d81"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-20T02:43:44Z","updated_at":"2016-08-20T07:27:06Z","closed_at":null,"body":"```\r\nfunction confirmEnding(str, target) {\r\n  // \"Never give up and good luck will find you.\"\r\n  // -- Falcor\r\n  return str.endsWith(target) // if I don't end with semi-colon it will pass.\r\n}\r\n\r\nconfirmEnding(\"Bastian\", \"n\");\r\n```"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/241184886","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10282#issuecomment-241184886","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10282","id":241184886,"user":{"login":"erictleung","id":2754821,"avatar_url":"https://avatars.githubusercontent.com/u/2754821?v=3","gravatar_id":"","url":"https://api.github.com/users/erictleung","html_url":"https://github.com/erictleung","followers_url":"https://api.github.com/users/erictleung/followers","following_url":"https://api.github.com/users/erictleung/following{/other_user}","gists_url":"https://api.github.com/users/erictleung/gists{/gist_id}","starred_url":"https://api.github.com/users/erictleung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictleung/subscriptions","organizations_url":"https://api.github.com/users/erictleung/orgs","repos_url":"https://api.github.com/users/erictleung/repos","events_url":"https://api.github.com/users/erictleung/events{/privacy}","received_events_url":"https://api.github.com/users/erictleung/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T07:27:06Z","updated_at":"2016-08-20T07:27:06Z","body":"[This line of code](https://github.com/FreeCodeCamp/FreeCodeCamp/blob/4ab8d1835070bc86131d60fdff8061f778abb716/seed/challenges/01-front-end-development-certification/basic-bonfires.json#L377) needs to be changed so the regex doesn't need the semi-colon or at least make it optional.\r\n\r\n```diff\r\n- !/\\\\.endsWith\\\\(.*?\\\\)\\\\s*?;/\r\n+ !/\\\\.endsWith\\\\(.*?\\\\)\\\\s*?/\r\n```"}}
{"actor":{"display_login":"erictleung"}}