{"comment":{"url":"https://api.github.com/repos/trotzig/import-js/comments/15133425","html_url":"https://github.com/trotzig/import-js/commit/ff026c16f2c6fe841b7dd02e6a6642c4aec15cf3#commitcomment-15133425","id":15133425,"user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"position":79,"line":212,"path":"lib/import_js/importer.rb","commit_id":"ff026c16f2c6fe841b7dd02e6a6642c4aec15cf3","created_at":"2015-12-23T06:20:23Z","updated_at":"2015-12-23T06:20:23Z","body":"It might not be a bad idea to anchor this regex to the beginning and end of the line to prevent matching e.g. a comment that mentions \"use strict\" in it:\r\n\r\n```js\r\n// We don't want to \"use strict\" here\r\n```\r\n\r\nor an argument to a function call:\r\n\r\n```js\r\nconsole.log('use strict');\r\n```\r\n\r\neven though it seems pretty unlikely it should be easy enough to avoid."}}