{"action":"closed","issue":{"url":"https://api.github.com/repos/cdglabs/ohm/issues/46","labels_url":"https://api.github.com/repos/cdglabs/ohm/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/cdglabs/ohm/issues/46/comments","events_url":"https://api.github.com/repos/cdglabs/ohm/issues/46/events","html_url":"https://github.com/cdglabs/ohm/issues/46","id":119947527,"number":46,"title":"Proposal: Eliminate special syntax for Str","user":{"login":"pdubroy","id":17293,"avatar_url":"https://avatars.githubusercontent.com/u/17293?v=3","gravatar_id":"","url":"https://api.github.com/users/pdubroy","html_url":"https://github.com/pdubroy","followers_url":"https://api.github.com/users/pdubroy/followers","following_url":"https://api.github.com/users/pdubroy/following{/other_user}","gists_url":"https://api.github.com/users/pdubroy/gists{/gist_id}","starred_url":"https://api.github.com/users/pdubroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdubroy/subscriptions","organizations_url":"https://api.github.com/users/pdubroy/orgs","repos_url":"https://api.github.com/users/pdubroy/repos","events_url":"https://api.github.com/users/pdubroy/events{/privacy}","received_events_url":"https://api.github.com/users/pdubroy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T14:02:25Z","updated_at":"2016-01-08T20:02:53Z","closed_at":"2016-01-08T20:02:53Z","body":"The syntax for a Str pexpr, which enters \"string matching mode\" for the next value in the current input stream, is currently a bit awkward:\r\n\r\n```\r\nG {\r\n  start = [``ident'']\r\n}\r\n```\r\n\r\nSince it's relatively uncommon to need this, and it's hard to guess what it means when you see it, what about using a parameterized rule for this instead? E.g.:\r\n\r\n```\r\nG {\r\n  start = [stringMatching<ident>]\r\n}\r\n```"}}