{"action":"created","issue":{"url":"https://api.github.com/repos/firasdib/Regex101/issues/1004","repository_url":"https://api.github.com/repos/firasdib/Regex101","labels_url":"https://api.github.com/repos/firasdib/Regex101/issues/1004/labels{/name}","comments_url":"https://api.github.com/repos/firasdib/Regex101/issues/1004/comments","events_url":"https://api.github.com/repos/firasdib/Regex101/issues/1004/events","html_url":"https://github.com/firasdib/Regex101/issues/1004","id":324938324,"node_id":"MDU6SXNzdWUzMjQ5MzgzMjQ=","number":1004,"title":"Mark javascript's \"s\" flag as draft","user":{"login":"kakty3","id":148888,"node_id":"MDQ6VXNlcjE0ODg4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/148888?v=4","gravatar_id":"","url":"https://api.github.com/users/kakty3","html_url":"https://github.com/kakty3","followers_url":"https://api.github.com/users/kakty3/followers","following_url":"https://api.github.com/users/kakty3/following{/other_user}","gists_url":"https://api.github.com/users/kakty3/gists{/gist_id}","starred_url":"https://api.github.com/users/kakty3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kakty3/subscriptions","organizations_url":"https://api.github.com/users/kakty3/orgs","repos_url":"https://api.github.com/users/kakty3/repos","events_url":"https://api.github.com/users/kakty3/events{/privacy}","received_events_url":"https://api.github.com/users/kakty3/received_events","type":"User","site_admin":false},"labels":[{"id":95501547,"node_id":"MDU6TGFiZWw5NTUwMTU0Nw==","url":"https://api.github.com/repos/firasdib/Regex101/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-21T14:32:57Z","updated_at":"2018-10-10T07:49:34Z","closed_at":"2018-07-13T23:49:28Z","author_association":"NONE","body":"Javascript's `s` flag appears only in [ECMAScript® 2019 Language Specification](https://tc39.github.io/ecma262/#sec-notation). So expression\r\n```js\r\nconst regex = /^.*?/s;\r\n```\r\nworks in Safari 11.1, but returns `SyntaxError: invalid regular expression flag s` in Firefox Nightly 61.0a1. \r\n\r\nI think it will be convenient to somehow mark `s` flag as draft flag in UI."},"comment":{"url":"https://api.github.com/repos/firasdib/Regex101/issues/comments/428472814","html_url":"https://github.com/firasdib/Regex101/issues/1004#issuecomment-428472814","issue_url":"https://api.github.com/repos/firasdib/Regex101/issues/1004","id":428472814,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODQ3MjgxNA==","user":{"login":"geri777","id":4689190,"node_id":"MDQ6VXNlcjQ2ODkxOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/4689190?v=4","gravatar_id":"","url":"https://api.github.com/users/geri777","html_url":"https://github.com/geri777","followers_url":"https://api.github.com/users/geri777/followers","following_url":"https://api.github.com/users/geri777/following{/other_user}","gists_url":"https://api.github.com/users/geri777/gists{/gist_id}","starred_url":"https://api.github.com/users/geri777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geri777/subscriptions","organizations_url":"https://api.github.com/users/geri777/orgs","repos_url":"https://api.github.com/users/geri777/repos","events_url":"https://api.github.com/users/geri777/events{/privacy}","received_events_url":"https://api.github.com/users/geri777/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T07:49:34Z","updated_at":"2018-10-10T07:49:34Z","author_association":"NONE","body":"I agree, this is a bad solution. The s-flag should be removed or clearly be marked as unsupported by the majority of browsers. "}}
{"actor":{"display_login":"geri777"}}