{"action":"created","issue":{"url":"https://api.github.com/repos/taverntesting/tavern/issues/29","repository_url":"https://api.github.com/repos/taverntesting/tavern","labels_url":"https://api.github.com/repos/taverntesting/tavern/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/taverntesting/tavern/issues/29/comments","events_url":"https://api.github.com/repos/taverntesting/tavern/issues/29/events","html_url":"https://github.com/taverntesting/tavern/pull/29","id":297681667,"number":29,"title":"add regex validation function","user":{"login":"WhileLoop","id":1332785,"avatar_url":"https://avatars3.githubusercontent.com/u/1332785?v=4","gravatar_id":"","url":"https://api.github.com/users/WhileLoop","html_url":"https://github.com/WhileLoop","followers_url":"https://api.github.com/users/WhileLoop/followers","following_url":"https://api.github.com/users/WhileLoop/following{/other_user}","gists_url":"https://api.github.com/users/WhileLoop/gists{/gist_id}","starred_url":"https://api.github.com/users/WhileLoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhileLoop/subscriptions","organizations_url":"https://api.github.com/users/WhileLoop/orgs","repos_url":"https://api.github.com/users/WhileLoop/repos","events_url":"https://api.github.com/users/WhileLoop/events{/privacy}","received_events_url":"https://api.github.com/users/WhileLoop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-16T04:57:07Z","updated_at":"2018-02-22T10:41:58Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/taverntesting/tavern/pulls/29","html_url":"https://github.com/taverntesting/tavern/pull/29","diff_url":"https://github.com/taverntesting/tavern/pull/29.diff","patch_url":"https://github.com/taverntesting/tavern/pull/29.patch"},"body":"add a regex validation helper function and a regex example"},"comment":{"url":"https://api.github.com/repos/taverntesting/tavern/issues/comments/367641473","html_url":"https://github.com/taverntesting/tavern/pull/29#issuecomment-367641473","issue_url":"https://api.github.com/repos/taverntesting/tavern/issues/29","id":367641473,"user":{"login":"benhowes","id":471170,"avatar_url":"https://avatars2.githubusercontent.com/u/471170?v=4","gravatar_id":"","url":"https://api.github.com/users/benhowes","html_url":"https://github.com/benhowes","followers_url":"https://api.github.com/users/benhowes/followers","following_url":"https://api.github.com/users/benhowes/following{/other_user}","gists_url":"https://api.github.com/users/benhowes/gists{/gist_id}","starred_url":"https://api.github.com/users/benhowes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhowes/subscriptions","organizations_url":"https://api.github.com/users/benhowes/orgs","repos_url":"https://api.github.com/users/benhowes/repos","events_url":"https://api.github.com/users/benhowes/events{/privacy}","received_events_url":"https://api.github.com/users/benhowes/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T10:41:58Z","updated_at":"2018-02-22T10:41:58Z","author_association":"CONTRIBUTOR","body":"@WhileLoop Sorry for the delay in getting back to you on this. I've been thinking about it a bit and wondering if a nicer way of doing this could be to use \"named groups\" in regexes. This could mean that we automatically save the contents of the named groups to the name if provided. Un-named groups could be dropped. The re module provides [this](https://docs.python.org/3.6/library/re.html#re.match.groupdict) which would make it pretty easy to implement too.\r\n\r\nWhat do you think?"}}
{"actor":{"display_login":"benhowes"}}