{"action":"created","comment":{"url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/comments/128656569","pull_request_review_id":51355142,"id":128656569,"diff_hunk":"@@ -695,6 +695,32 @@ def text(\n \n @cacheable\n @defines_strategy\n+def strings_matching_regex(regex):\n+    \"\"\"Return strategy that generates strings that match given regex.\n+\n+    Regex can be either a string or compiled regex (through\n+    :func:`re.compile`).","path":"src/hypothesis/strategies.py","position":17,"original_position":17,"commit_id":"d0a4a4354b52bd393bb709fa138e24da581eb4ee","original_commit_id":"d0a4a4354b52bd393bb709fa138e24da581eb4ee","user":{"login":"Zac-HD","id":12229877,"avatar_url":"https://avatars1.githubusercontent.com/u/12229877?v=4","gravatar_id":"","url":"https://api.github.com/users/Zac-HD","html_url":"https://github.com/Zac-HD","followers_url":"https://api.github.com/users/Zac-HD/followers","following_url":"https://api.github.com/users/Zac-HD/following{/other_user}","gists_url":"https://api.github.com/users/Zac-HD/gists{/gist_id}","starred_url":"https://api.github.com/users/Zac-HD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zac-HD/subscriptions","organizations_url":"https://api.github.com/users/Zac-HD/orgs","repos_url":"https://api.github.com/users/Zac-HD/repos","events_url":"https://api.github.com/users/Zac-HD/events{/privacy}","received_events_url":"https://api.github.com/users/Zac-HD/received_events","type":"User","site_admin":false},"body":"To clarify that it's unicode-only, now that the name has changed to make sense in future when it isn't:\r\n\r\n    ``regex`` can be either a unicode string or compiled unicode regex (with :func:`python:re.compile`).  Byte-string support may be added in a future version.","created_at":"2017-07-20T23:46:13Z","updated_at":"2017-07-21T00:00:12Z","html_url":"https://github.com/HypothesisWorks/hypothesis-python/pull/708#discussion_r128656569","pull_request_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708","_links":{"self":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/comments/128656569"},"html":{"href":"https://github.com/HypothesisWorks/hypothesis-python/pull/708#discussion_r128656569"},"pull_request":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708"}}},"pull_request":{"url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708","id":127582944,"html_url":"https://github.com/HypothesisWorks/hypothesis-python/pull/708","diff_url":"https://github.com/HypothesisWorks/hypothesis-python/pull/708.diff","patch_url":"https://github.com/HypothesisWorks/hypothesis-python/pull/708.patch","issue_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/708","number":708,"state":"open","locked":false,"title":"Add strategy to generate text matching regular expression. Resolves #662","user":{"login":"maximkulkin","id":10785,"avatar_url":"https://avatars2.githubusercontent.com/u/10785?v=4","gravatar_id":"","url":"https://api.github.com/users/maximkulkin","html_url":"https://github.com/maximkulkin","followers_url":"https://api.github.com/users/maximkulkin/followers","following_url":"https://api.github.com/users/maximkulkin/following{/other_user}","gists_url":"https://api.github.com/users/maximkulkin/gists{/gist_id}","starred_url":"https://api.github.com/users/maximkulkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximkulkin/subscriptions","organizations_url":"https://api.github.com/users/maximkulkin/orgs","repos_url":"https://api.github.com/users/maximkulkin/repos","events_url":"https://api.github.com/users/maximkulkin/events{/privacy}","received_events_url":"https://api.github.com/users/maximkulkin/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-26T23:15:26Z","updated_at":"2017-07-21T00:00:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b52f2d25cf8a2b738760bc3e19fc356591e494a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708/commits","review_comments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708/comments","review_comment_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/708/comments","statuses_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/statuses/d0a4a4354b52bd393bb709fa138e24da581eb4ee","head":{"label":"maximkulkin:text-matching-regex","ref":"text-matching-regex","sha":"d0a4a4354b52bd393bb709fa138e24da581eb4ee","user":{"login":"maximkulkin","id":10785,"avatar_url":"https://avatars2.githubusercontent.com/u/10785?v=4","gravatar_id":"","url":"https://api.github.com/users/maximkulkin","html_url":"https://github.com/maximkulkin","followers_url":"https://api.github.com/users/maximkulkin/followers","following_url":"https://api.github.com/users/maximkulkin/following{/other_user}","gists_url":"https://api.github.com/users/maximkulkin/gists{/gist_id}","starred_url":"https://api.github.com/users/maximkulkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximkulkin/subscriptions","organizations_url":"https://api.github.com/users/maximkulkin/orgs","repos_url":"https://api.github.com/users/maximkulkin/repos","events_url":"https://api.github.com/users/maximkulkin/events{/privacy}","received_events_url":"https://api.github.com/users/maximkulkin/received_events","type":"User","site_admin":false},"repo":{"id":92861002,"name":"hypothesis-python","full_name":"maximkulkin/hypothesis-python","owner":{"login":"maximkulkin","id":10785,"avatar_url":"https://avatars2.githubusercontent.com/u/10785?v=4","gravatar_id":"","url":"https://api.github.com/users/maximkulkin","html_url":"https://github.com/maximkulkin","followers_url":"https://api.github.com/users/maximkulkin/followers","following_url":"https://api.github.com/users/maximkulkin/following{/other_user}","gists_url":"https://api.github.com/users/maximkulkin/gists{/gist_id}","starred_url":"https://api.github.com/users/maximkulkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximkulkin/subscriptions","organizations_url":"https://api.github.com/users/maximkulkin/orgs","repos_url":"https://api.github.com/users/maximkulkin/repos","events_url":"https://api.github.com/users/maximkulkin/events{/privacy}","received_events_url":"https://api.github.com/users/maximkulkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maximkulkin/hypothesis-python","description":"Advanced property-based (QuickCheck-like) testing for Python","fork":true,"url":"https://api.github.com/repos/maximkulkin/hypothesis-python","forks_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/forks","keys_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/teams","hooks_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/hooks","issue_events_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/issues/events{/number}","events_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/events","assignees_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/assignees{/user}","branches_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/branches{/branch}","tags_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/tags","blobs_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/statuses/{sha}","languages_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/languages","stargazers_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/stargazers","contributors_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/contributors","subscribers_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/subscribers","subscription_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/subscription","commits_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/contents/{+path}","compare_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/merges","archive_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/downloads","issues_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/issues{/number}","pulls_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/pulls{/number}","milestones_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/milestones{/number}","notifications_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/labels{/name}","releases_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/releases{/id}","deployments_url":"https://api.github.com/repos/maximkulkin/hypothesis-python/deployments","created_at":"2017-05-30T17:55:54Z","updated_at":"2017-05-30T17:55:57Z","pushed_at":"2017-07-20T20:53:16Z","git_url":"git://github.com/maximkulkin/hypothesis-python.git","ssh_url":"git@github.com:maximkulkin/hypothesis-python.git","clone_url":"https://github.com/maximkulkin/hypothesis-python.git","svn_url":"https://github.com/maximkulkin/hypothesis-python","homepage":"http://hypothesis.works","size":6926,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HypothesisWorks:master","ref":"master","sha":"def8e0b87d502e856c5957485599db3eb8567b38","user":{"login":"HypothesisWorks","id":18481919,"avatar_url":"https://avatars1.githubusercontent.com/u/18481919?v=4","gravatar_id":"","url":"https://api.github.com/users/HypothesisWorks","html_url":"https://github.com/HypothesisWorks","followers_url":"https://api.github.com/users/HypothesisWorks/followers","following_url":"https://api.github.com/users/HypothesisWorks/following{/other_user}","gists_url":"https://api.github.com/users/HypothesisWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/HypothesisWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HypothesisWorks/subscriptions","organizations_url":"https://api.github.com/users/HypothesisWorks/orgs","repos_url":"https://api.github.com/users/HypothesisWorks/repos","events_url":"https://api.github.com/users/HypothesisWorks/events{/privacy}","received_events_url":"https://api.github.com/users/HypothesisWorks/received_events","type":"Organization","site_admin":false},"repo":{"id":8685799,"name":"hypothesis-python","full_name":"HypothesisWorks/hypothesis-python","owner":{"login":"HypothesisWorks","id":18481919,"avatar_url":"https://avatars1.githubusercontent.com/u/18481919?v=4","gravatar_id":"","url":"https://api.github.com/users/HypothesisWorks","html_url":"https://github.com/HypothesisWorks","followers_url":"https://api.github.com/users/HypothesisWorks/followers","following_url":"https://api.github.com/users/HypothesisWorks/following{/other_user}","gists_url":"https://api.github.com/users/HypothesisWorks/gists{/gist_id}","starred_url":"https://api.github.com/users/HypothesisWorks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HypothesisWorks/subscriptions","organizations_url":"https://api.github.com/users/HypothesisWorks/orgs","repos_url":"https://api.github.com/users/HypothesisWorks/repos","events_url":"https://api.github.com/users/HypothesisWorks/events{/privacy}","received_events_url":"https://api.github.com/users/HypothesisWorks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HypothesisWorks/hypothesis-python","description":"Advanced property-based (QuickCheck-like) testing for Python","fork":false,"url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python","forks_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/forks","keys_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/teams","hooks_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/hooks","issue_events_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/events{/number}","events_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/events","assignees_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/assignees{/user}","branches_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/branches{/branch}","tags_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/tags","blobs_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/statuses/{sha}","languages_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/languages","stargazers_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/stargazers","contributors_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/contributors","subscribers_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/subscribers","subscription_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/subscription","commits_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/contents/{+path}","compare_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/merges","archive_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/downloads","issues_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues{/number}","pulls_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls{/number}","milestones_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/milestones{/number}","notifications_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/labels{/name}","releases_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/releases{/id}","deployments_url":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/deployments","created_at":"2013-03-10T13:51:19Z","updated_at":"2017-07-20T18:31:45Z","pushed_at":"2017-07-20T20:53:17Z","git_url":"git://github.com/HypothesisWorks/hypothesis-python.git","ssh_url":"git@github.com:HypothesisWorks/hypothesis-python.git","clone_url":"https://github.com/HypothesisWorks/hypothesis-python.git","svn_url":"https://github.com/HypothesisWorks/hypothesis-python","homepage":"http://hypothesis.works","size":6911,"stargazers_count":1982,"watchers_count":1982,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":178,"mirror_url":null,"open_issues_count":105,"forks":178,"open_issues":105,"watchers":1982,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708"},"html":{"href":"https://github.com/HypothesisWorks/hypothesis-python/pull/708"},"issue":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/708"},"comments":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/issues/708/comments"},"review_comments":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708/comments"},"review_comment":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/pulls/708/commits"},"statuses":{"href":"https://api.github.com/repos/HypothesisWorks/hypothesis-python/statuses/d0a4a4354b52bd393bb709fa138e24da581eb4ee"}}}}
{"actor":{"display_login":"Zac-HD"}}