{"action":"created","issue":{"url":"https://api.github.com/repos/fabiosantoscode/terser/issues/67","repository_url":"https://api.github.com/repos/fabiosantoscode/terser","labels_url":"https://api.github.com/repos/fabiosantoscode/terser/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/fabiosantoscode/terser/issues/67/comments","events_url":"https://api.github.com/repos/fabiosantoscode/terser/issues/67/events","html_url":"https://github.com/fabiosantoscode/terser/issues/67","id":335224814,"node_id":"MDU6SXNzdWUzMzUyMjQ4MTQ=","number":67,"title":"AST_RegExp.value.raw_source incorrect","user":{"login":"kzc","id":11593452,"node_id":"MDQ6VXNlcjExNTkzNDUy","avatar_url":"https://avatars3.githubusercontent.com/u/11593452?v=4","gravatar_id":"","url":"https://api.github.com/users/kzc","html_url":"https://github.com/kzc","followers_url":"https://api.github.com/users/kzc/followers","following_url":"https://api.github.com/users/kzc/following{/other_user}","gists_url":"https://api.github.com/users/kzc/gists{/gist_id}","starred_url":"https://api.github.com/users/kzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzc/subscriptions","organizations_url":"https://api.github.com/users/kzc/orgs","repos_url":"https://api.github.com/users/kzc/repos","events_url":"https://api.github.com/users/kzc/events{/privacy}","received_events_url":"https://api.github.com/users/kzc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-25T00:07:08Z","updated_at":"2018-06-26T19:13:28Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Bug report or Feature request?**\r\n\r\nbug introduced in fafc6993a968580388db508842ea093c9ab1bbfb\r\n\r\n**Version (complete output of `terser -V`)**\r\n\r\npost terser 3.7.6: fafc6993a968580388db508842ea093c9ab1bbfb\r\n\r\n**Complete CLI command or `minify()` options used**\r\n\r\nactual (after fafc6993a968580388db508842ea093c9ab1bbfb):\r\n\r\n```\r\n$ echo '/rx/ig' | bin/uglifyjs -o ast\r\n{\r\n  \"_class\": \"AST_Toplevel\",\r\n  \"body\": [\r\n    {\r\n      \"_class\": \"AST_SimpleStatement\",\r\n      \"body\": {\r\n        \"_class\": \"AST_RegExp\",\r\n        \"value\": {\r\n          \"raw_source\": \"rx\"\r\n        }\r\n      }\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nexpected (before fafc6993a968580388db508842ea093c9ab1bbfb):\r\n\r\n```\r\n$ echo '/rx/ig' | bin/uglifyjs -o ast\r\n{\r\n  \"_class\": \"AST_Toplevel\",\r\n  \"body\": [\r\n    {\r\n      \"_class\": \"AST_SimpleStatement\",\r\n      \"body\": {\r\n        \"_class\": \"AST_RegExp\",\r\n        \"value\": {\r\n          \"raw_source\": \"/rx/ig\"\r\n        }\r\n      }\r\n    }\r\n  ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/fabiosantoscode/terser/issues/comments/400430055","html_url":"https://github.com/fabiosantoscode/terser/issues/67#issuecomment-400430055","issue_url":"https://api.github.com/repos/fabiosantoscode/terser/issues/67","id":400430055,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDQzMDA1NQ==","user":{"login":"fabiosantoscode","id":1611595,"node_id":"MDQ6VXNlcjE2MTE1OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1611595?v=4","gravatar_id":"","url":"https://api.github.com/users/fabiosantoscode","html_url":"https://github.com/fabiosantoscode","followers_url":"https://api.github.com/users/fabiosantoscode/followers","following_url":"https://api.github.com/users/fabiosantoscode/following{/other_user}","gists_url":"https://api.github.com/users/fabiosantoscode/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiosantoscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiosantoscode/subscriptions","organizations_url":"https://api.github.com/users/fabiosantoscode/orgs","repos_url":"https://api.github.com/users/fabiosantoscode/repos","events_url":"https://api.github.com/users/fabiosantoscode/events{/privacy}","received_events_url":"https://api.github.com/users/fabiosantoscode/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T19:13:28Z","updated_at":"2018-06-26T19:13:28Z","author_association":"OWNER","body":"Ok, it makes sense to revert it."}}
{"actor":{"display_login":"fabiosantoscode"}}