{"comment":{"url":"https://api.github.com/repos/winder/Universal-G-Code-Sender/comments/17988227","html_url":"https://github.com/winder/Universal-G-Code-Sender/commit/d59b4c886e4e6bf7d296af727ab3e417dfe1d3d9#commitcomment-17988227","id":17988227,"user":{"login":"philreindl","id":3010883,"avatar_url":"https://avatars.githubusercontent.com/u/3010883?v=3","gravatar_id":"","url":"https://api.github.com/users/philreindl","html_url":"https://github.com/philreindl","followers_url":"https://api.github.com/users/philreindl/followers","following_url":"https://api.github.com/users/philreindl/following{/other_user}","gists_url":"https://api.github.com/users/philreindl/gists{/gist_id}","starred_url":"https://api.github.com/users/philreindl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philreindl/subscriptions","organizations_url":"https://api.github.com/users/philreindl/orgs","repos_url":"https://api.github.com/users/philreindl/repos","events_url":"https://api.github.com/users/philreindl/events{/privacy}","received_events_url":"https://api.github.com/users/philreindl/received_events","type":"User","site_admin":false},"position":81,"line":81,"path":"ugs-core/src/com/willwinder/universalgcodesender/MacroHelper.java","commit_id":"d59b4c886e4e6bf7d296af727ab3e417dfe1d3d9","created_at":"2016-06-23T14:21:31Z","updated_at":"2016-06-23T14:21:31Z","body":"All the macro tags start with a {, so if not { is present, you can just return the original string without messing with any regex.  Easy perf win would be to throw a little block like so up at the top.\r\n```\r\nif (!str.contains(\"{\")) {\r\nreturn str;\r\n}\r\n```"}}
{"actor":{"display_login":"philreindl"}}