{"action":"closed","issue":{"url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/99","repository_url":"https://api.github.com/repos/adireddy/haxe-checkstyle","labels_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/99/comments","events_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/99/events","html_url":"https://github.com/adireddy/haxe-checkstyle/issues/99","id":138544229,"number":99,"title":"ERegInstantiation fail with string interpolation","user":{"login":"fantoine","id":1149128,"avatar_url":"https://avatars.githubusercontent.com/u/1149128?v=3","gravatar_id":"","url":"https://api.github.com/users/fantoine","html_url":"https://github.com/fantoine","followers_url":"https://api.github.com/users/fantoine/followers","following_url":"https://api.github.com/users/fantoine/following{/other_user}","gists_url":"https://api.github.com/users/fantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/fantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fantoine/subscriptions","organizations_url":"https://api.github.com/users/fantoine/orgs","repos_url":"https://api.github.com/users/fantoine/repos","events_url":"https://api.github.com/users/fantoine/events{/privacy}","received_events_url":"https://api.github.com/users/fantoine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adireddy/haxe-checkstyle/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-04T18:11:55Z","updated_at":"2016-03-04T21:28:15Z","closed_at":"2016-03-04T21:28:14Z","body":"With ERegInstantiation check\r\n\r\nThe following code fails:\r\n```haxe\r\nvar regex = new EReg('^${pattern}$', 'ig');\r\n```\r\n\r\nWhile this one works:\r\n```haxe\r\nvar regex = new EReg('^' + pattern + '$', 'ig');\r\n```"}}