{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/regex/issues/29","labels_url":"https://api.github.com/repos/rust-lang/regex/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/regex/issues/29/comments","events_url":"https://api.github.com/repos/rust-lang/regex/issues/29/events","html_url":"https://github.com/rust-lang/regex/issues/29","id":55429344,"number":29,"title":"[feature request] Expose libregex's parsing/compiling internals","user":{"login":"rust-highfive","id":7378925,"avatar_url":"https://avatars.githubusercontent.com/u/7378925?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-highfive","html_url":"https://github.com/rust-highfive","followers_url":"https://api.github.com/users/rust-highfive/followers","following_url":"https://api.github.com/users/rust-highfive/following{/other_user}","gists_url":"https://api.github.com/users/rust-highfive/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-highfive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-highfive/subscriptions","organizations_url":"https://api.github.com/users/rust-highfive/orgs","repos_url":"https://api.github.com/users/rust-highfive/repos","events_url":"https://api.github.com/users/rust-highfive/events{/privacy}","received_events_url":"https://api.github.com/users/rust-highfive/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-25T20:40:59Z","updated_at":"2015-04-01T18:09:05Z","closed_at":null,"body":"<a href=\"https://github.com/andrew-d\"><img src=\"https://avatars.githubusercontent.com/u/1079173?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [andrew-d](https://github.com/andrew-d)**\n_Thursday Nov 06, 2014 at 19:54 GMT_\n\n_For earlier discussion, see https://github.com/rust-lang/rust/issues/18710_\n\n_This issue was labelled with:  in the Rust repository_\n\n----\n\nI was looking at implementing something similar to [this](http://swtch.com/~rsc/regexp/regexp4.html) - a trigram-index-aided search.  I'd rather not reproduce the code necessary to parse the regex, considering it already lives in libregex.  It'd be nice if the parsing/compiling was exposed for use - perhaps similar to how Go does it with their `regexp` and `regexp/syntax` [packages](http://golang.org/pkg/regexp/).\r\n\r\ncc @burntsushi\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/regex/issues/comments/88579884","html_url":"https://github.com/rust-lang/regex/issues/29#issuecomment-88579884","issue_url":"https://api.github.com/repos/rust-lang/regex/issues/29","id":88579884,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T18:09:05Z","updated_at":"2015-04-01T18:09:05Z","body":"Creating a separate crate for the parser sounds like a great idea to me!"}}