{"action":"created","issue":{"url":"https://api.github.com/repos/semver/semver.org/issues/59","repository_url":"https://api.github.com/repos/semver/semver.org","labels_url":"https://api.github.com/repos/semver/semver.org/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/semver/semver.org/issues/59/comments","events_url":"https://api.github.com/repos/semver/semver.org/issues/59/events","html_url":"https://github.com/semver/semver.org/issues/59","id":13616031,"number":59,"title":"Needs canonical examples / reference implementation (including RegExp)","user":{"login":"coolaj86","id":122831,"avatar_url":"https://avatars3.githubusercontent.com/u/122831?v=4","gravatar_id":"","url":"https://api.github.com/users/coolaj86","html_url":"https://github.com/coolaj86","followers_url":"https://api.github.com/users/coolaj86/followers","following_url":"https://api.github.com/users/coolaj86/following{/other_user}","gists_url":"https://api.github.com/users/coolaj86/gists{/gist_id}","starred_url":"https://api.github.com/users/coolaj86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolaj86/subscriptions","organizations_url":"https://api.github.com/users/coolaj86/orgs","repos_url":"https://api.github.com/users/coolaj86/repos","events_url":"https://api.github.com/users/coolaj86/events{/privacy}","received_events_url":"https://api.github.com/users/coolaj86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2013-04-24T23:01:09Z","updated_at":"2018-05-10T10:36:54Z","closed_at":null,"author_association":"NONE","body":"See https://github.com/mojombo/semver/issues/32\n- RegExp in various languages that correctly parse semver\n- Reference implementations\n\nJavaScript RegExp:\n\n``` javascript\n/^(([\\d+)\\.(\\d|)\\.(\\d+))(?:-([\\dA-Za-z\\-]+(?:\\.[\\dA-Za-z\\-]+)*))?(?:\\+([\\dA-Za-z\\-]+(?:\\.[\\dA-Za-z\\-]+)*))?$/\n```\n\nJavaScript Reference Implementation:\n\nhttps://github.com/coolaj86/semver-utils\n\nI would suggest having two sections - one for tested Regular Expressions that match and another for modules / reference implementations.\n\nThere should be at least canonical reference implementation of a parser / validator with an api that would make sense to copy in any language.\n"},"comment":{"url":"https://api.github.com/repos/semver/semver.org/issues/comments/388017856","html_url":"https://github.com/semver/semver.org/issues/59#issuecomment-388017856","issue_url":"https://api.github.com/repos/semver/semver.org/issues/59","id":388017856,"user":{"login":"wolf99","id":281700,"avatar_url":"https://avatars2.githubusercontent.com/u/281700?v=4","gravatar_id":"","url":"https://api.github.com/users/wolf99","html_url":"https://github.com/wolf99","followers_url":"https://api.github.com/users/wolf99/followers","following_url":"https://api.github.com/users/wolf99/following{/other_user}","gists_url":"https://api.github.com/users/wolf99/gists{/gist_id}","starred_url":"https://api.github.com/users/wolf99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolf99/subscriptions","organizations_url":"https://api.github.com/users/wolf99/orgs","repos_url":"https://api.github.com/users/wolf99/repos","events_url":"https://api.github.com/users/wolf99/events{/privacy}","received_events_url":"https://api.github.com/users/wolf99/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T10:36:54Z","updated_at":"2018-05-10T10:36:54Z","author_association":"NONE","body":"Did this go anywhere? Is there a final recommended regex?"}}
{"actor":{"display_login":"wolf99"}}