{"action":"created","comment":{"url":"https://api.github.com/repos/koterpillar/aloe/pulls/comments/39937183","id":39937183,"diff_hunk":"@@ -6,6 +6,39 @@ Defining Steps\n \n .. autofunction:: aloe.step(sentence=None)\n \n+Common regular expressions for capturing data\n+---------------------------------------------\n+\n+**String**\n+\n+    .. code-block:: gherkin\n+\n+        Given I logged in as \"alexey\"\n+\n+    .. code-block:: python\n+\n+        @step(r'I logged in as \"([^\"]*)\"')\n+\n+**Number**\n+\n+    .. code-block:: gherkin\n+\n+        Then the price should be $12.99\n+\n+    .. code-block:: python\n+\n+        @step(r'The price should be \\$(\\d+\\.?\\d*)')","path":"docs/steps.rst","position":25,"original_position":25,"commit_id":"93680c0e611b3b0c38e1ec337cbbaaa7feb752cc","original_commit_id":"93680c0e611b3b0c38e1ec337cbbaaa7feb752cc","user":{"login":"koterpillar","id":140276,"avatar_url":"https://avatars.githubusercontent.com/u/140276?v=3","gravatar_id":"","url":"https://api.github.com/users/koterpillar","html_url":"https://github.com/koterpillar","followers_url":"https://api.github.com/users/koterpillar/followers","following_url":"https://api.github.com/users/koterpillar/following{/other_user}","gists_url":"https://api.github.com/users/koterpillar/gists{/gist_id}","starred_url":"https://api.github.com/users/koterpillar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koterpillar/subscriptions","organizations_url":"https://api.github.com/users/koterpillar/orgs","repos_url":"https://api.github.com/users/koterpillar/repos","events_url":"https://api.github.com/users/koterpillar/events{/privacy}","received_events_url":"https://api.github.com/users/koterpillar/received_events","type":"User","site_admin":false},"body":"That's not a good regular expression, it will uselessly backtrack.","created_at":"2015-09-21T00:38:37Z","updated_at":"2015-09-21T00:38:37Z","html_url":"https://github.com/koterpillar/aloe/pull/49#discussion_r39937183","pull_request_url":"https://api.github.com/repos/koterpillar/aloe/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/koterpillar/aloe/pulls/comments/39937183"},"html":{"href":"https://github.com/koterpillar/aloe/pull/49#discussion_r39937183"},"pull_request":{"href":"https://api.github.com/repos/koterpillar/aloe/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/koterpillar/aloe/pulls/49","id":45493017,"html_url":"https://github.com/koterpillar/aloe/pull/49","diff_url":"https://github.com/koterpillar/aloe/pull/49.diff","patch_url":"https://github.com/koterpillar/aloe/pull/49.patch","issue_url":"https://api.github.com/repos/koterpillar/aloe/issues/49","number":49,"state":"open","locked":false,"title":"More doco","user":{"login":"danni","id":129472,"avatar_url":"https://avatars.githubusercontent.com/u/129472?v=3","gravatar_id":"","url":"https://api.github.com/users/danni","html_url":"https://github.com/danni","followers_url":"https://api.github.com/users/danni/followers","following_url":"https://api.github.com/users/danni/following{/other_user}","gists_url":"https://api.github.com/users/danni/gists{/gist_id}","starred_url":"https://api.github.com/users/danni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danni/subscriptions","organizations_url":"https://api.github.com/users/danni/orgs","repos_url":"https://api.github.com/users/danni/repos","events_url":"https://api.github.com/users/danni/events{/privacy}","received_events_url":"https://api.github.com/users/danni/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-20T09:17:45Z","updated_at":"2015-09-21T00:38:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b358e5aef926c24eb365c96fe7bd27149bbff449","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/koterpillar/aloe/pulls/49/commits","review_comments_url":"https://api.github.com/repos/koterpillar/aloe/pulls/49/comments","review_comment_url":"https://api.github.com/repos/koterpillar/aloe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koterpillar/aloe/issues/49/comments","statuses_url":"https://api.github.com/repos/koterpillar/aloe/statuses/93680c0e611b3b0c38e1ec337cbbaaa7feb752cc","head":{"label":"infoxchange:more-doco","ref":"more-doco","sha":"93680c0e611b3b0c38e1ec337cbbaaa7feb752cc","user":{"login":"infoxchange","id":436479,"avatar_url":"https://avatars.githubusercontent.com/u/436479?v=3","gravatar_id":"","url":"https://api.github.com/users/infoxchange","html_url":"https://github.com/infoxchange","followers_url":"https://api.github.com/users/infoxchange/followers","following_url":"https://api.github.com/users/infoxchange/following{/other_user}","gists_url":"https://api.github.com/users/infoxchange/gists{/gist_id}","starred_url":"https://api.github.com/users/infoxchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoxchange/subscriptions","organizations_url":"https://api.github.com/users/infoxchange/orgs","repos_url":"https://api.github.com/users/infoxchange/repos","events_url":"https://api.github.com/users/infoxchange/events{/privacy}","received_events_url":"https://api.github.com/users/infoxchange/received_events","type":"Organization","site_admin":false},"repo":{"id":39554276,"name":"aloe","full_name":"infoxchange/aloe","owner":{"login":"infoxchange","id":436479,"avatar_url":"https://avatars.githubusercontent.com/u/436479?v=3","gravatar_id":"","url":"https://api.github.com/users/infoxchange","html_url":"https://github.com/infoxchange","followers_url":"https://api.github.com/users/infoxchange/followers","following_url":"https://api.github.com/users/infoxchange/following{/other_user}","gists_url":"https://api.github.com/users/infoxchange/gists{/gist_id}","starred_url":"https://api.github.com/users/infoxchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoxchange/subscriptions","organizations_url":"https://api.github.com/users/infoxchange/orgs","repos_url":"https://api.github.com/users/infoxchange/repos","events_url":"https://api.github.com/users/infoxchange/events{/privacy}","received_events_url":"https://api.github.com/users/infoxchange/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infoxchange/aloe","description":"","fork":true,"url":"https://api.github.com/repos/infoxchange/aloe","forks_url":"https://api.github.com/repos/infoxchange/aloe/forks","keys_url":"https://api.github.com/repos/infoxchange/aloe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infoxchange/aloe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infoxchange/aloe/teams","hooks_url":"https://api.github.com/repos/infoxchange/aloe/hooks","issue_events_url":"https://api.github.com/repos/infoxchange/aloe/issues/events{/number}","events_url":"https://api.github.com/repos/infoxchange/aloe/events","assignees_url":"https://api.github.com/repos/infoxchange/aloe/assignees{/user}","branches_url":"https://api.github.com/repos/infoxchange/aloe/branches{/branch}","tags_url":"https://api.github.com/repos/infoxchange/aloe/tags","blobs_url":"https://api.github.com/repos/infoxchange/aloe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infoxchange/aloe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infoxchange/aloe/git/refs{/sha}","trees_url":"https://api.github.com/repos/infoxchange/aloe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infoxchange/aloe/statuses/{sha}","languages_url":"https://api.github.com/repos/infoxchange/aloe/languages","stargazers_url":"https://api.github.com/repos/infoxchange/aloe/stargazers","contributors_url":"https://api.github.com/repos/infoxchange/aloe/contributors","subscribers_url":"https://api.github.com/repos/infoxchange/aloe/subscribers","subscription_url":"https://api.github.com/repos/infoxchange/aloe/subscription","commits_url":"https://api.github.com/repos/infoxchange/aloe/commits{/sha}","git_commits_url":"https://api.github.com/repos/infoxchange/aloe/git/commits{/sha}","comments_url":"https://api.github.com/repos/infoxchange/aloe/comments{/number}","issue_comment_url":"https://api.github.com/repos/infoxchange/aloe/issues/comments{/number}","contents_url":"https://api.github.com/repos/infoxchange/aloe/contents/{+path}","compare_url":"https://api.github.com/repos/infoxchange/aloe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infoxchange/aloe/merges","archive_url":"https://api.github.com/repos/infoxchange/aloe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infoxchange/aloe/downloads","issues_url":"https://api.github.com/repos/infoxchange/aloe/issues{/number}","pulls_url":"https://api.github.com/repos/infoxchange/aloe/pulls{/number}","milestones_url":"https://api.github.com/repos/infoxchange/aloe/milestones{/number}","notifications_url":"https://api.github.com/repos/infoxchange/aloe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infoxchange/aloe/labels{/name}","releases_url":"https://api.github.com/repos/infoxchange/aloe/releases{/id}","created_at":"2015-07-23T08:07:11Z","updated_at":"2015-07-23T08:07:12Z","pushed_at":"2015-09-20T09:17:24Z","git_url":"git://github.com/infoxchange/aloe.git","ssh_url":"git@github.com:infoxchange/aloe.git","clone_url":"https://github.com/infoxchange/aloe.git","svn_url":"https://github.com/infoxchange/aloe","homepage":null,"size":543,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"koterpillar:master","ref":"master","sha":"d97b761a894669b21deff1ff335ad2f2a0f45035","user":{"login":"koterpillar","id":140276,"avatar_url":"https://avatars.githubusercontent.com/u/140276?v=3","gravatar_id":"","url":"https://api.github.com/users/koterpillar","html_url":"https://github.com/koterpillar","followers_url":"https://api.github.com/users/koterpillar/followers","following_url":"https://api.github.com/users/koterpillar/following{/other_user}","gists_url":"https://api.github.com/users/koterpillar/gists{/gist_id}","starred_url":"https://api.github.com/users/koterpillar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koterpillar/subscriptions","organizations_url":"https://api.github.com/users/koterpillar/orgs","repos_url":"https://api.github.com/users/koterpillar/repos","events_url":"https://api.github.com/users/koterpillar/events{/privacy}","received_events_url":"https://api.github.com/users/koterpillar/received_events","type":"User","site_admin":false},"repo":{"id":33724109,"name":"aloe","full_name":"koterpillar/aloe","owner":{"login":"koterpillar","id":140276,"avatar_url":"https://avatars.githubusercontent.com/u/140276?v=3","gravatar_id":"","url":"https://api.github.com/users/koterpillar","html_url":"https://github.com/koterpillar","followers_url":"https://api.github.com/users/koterpillar/followers","following_url":"https://api.github.com/users/koterpillar/following{/other_user}","gists_url":"https://api.github.com/users/koterpillar/gists{/gist_id}","starred_url":"https://api.github.com/users/koterpillar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koterpillar/subscriptions","organizations_url":"https://api.github.com/users/koterpillar/orgs","repos_url":"https://api.github.com/users/koterpillar/repos","events_url":"https://api.github.com/users/koterpillar/events{/privacy}","received_events_url":"https://api.github.com/users/koterpillar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/koterpillar/aloe","description":"","fork":false,"url":"https://api.github.com/repos/koterpillar/aloe","forks_url":"https://api.github.com/repos/koterpillar/aloe/forks","keys_url":"https://api.github.com/repos/koterpillar/aloe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koterpillar/aloe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koterpillar/aloe/teams","hooks_url":"https://api.github.com/repos/koterpillar/aloe/hooks","issue_events_url":"https://api.github.com/repos/koterpillar/aloe/issues/events{/number}","events_url":"https://api.github.com/repos/koterpillar/aloe/events","assignees_url":"https://api.github.com/repos/koterpillar/aloe/assignees{/user}","branches_url":"https://api.github.com/repos/koterpillar/aloe/branches{/branch}","tags_url":"https://api.github.com/repos/koterpillar/aloe/tags","blobs_url":"https://api.github.com/repos/koterpillar/aloe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koterpillar/aloe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koterpillar/aloe/git/refs{/sha}","trees_url":"https://api.github.com/repos/koterpillar/aloe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koterpillar/aloe/statuses/{sha}","languages_url":"https://api.github.com/repos/koterpillar/aloe/languages","stargazers_url":"https://api.github.com/repos/koterpillar/aloe/stargazers","contributors_url":"https://api.github.com/repos/koterpillar/aloe/contributors","subscribers_url":"https://api.github.com/repos/koterpillar/aloe/subscribers","subscription_url":"https://api.github.com/repos/koterpillar/aloe/subscription","commits_url":"https://api.github.com/repos/koterpillar/aloe/commits{/sha}","git_commits_url":"https://api.github.com/repos/koterpillar/aloe/git/commits{/sha}","comments_url":"https://api.github.com/repos/koterpillar/aloe/comments{/number}","issue_comment_url":"https://api.github.com/repos/koterpillar/aloe/issues/comments{/number}","contents_url":"https://api.github.com/repos/koterpillar/aloe/contents/{+path}","compare_url":"https://api.github.com/repos/koterpillar/aloe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koterpillar/aloe/merges","archive_url":"https://api.github.com/repos/koterpillar/aloe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koterpillar/aloe/downloads","issues_url":"https://api.github.com/repos/koterpillar/aloe/issues{/number}","pulls_url":"https://api.github.com/repos/koterpillar/aloe/pulls{/number}","milestones_url":"https://api.github.com/repos/koterpillar/aloe/milestones{/number}","notifications_url":"https://api.github.com/repos/koterpillar/aloe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koterpillar/aloe/labels{/name}","releases_url":"https://api.github.com/repos/koterpillar/aloe/releases{/id}","created_at":"2015-04-10T11:00:46Z","updated_at":"2015-08-16T14:49:24Z","pushed_at":"2015-09-20T09:17:45Z","git_url":"git://github.com/koterpillar/aloe.git","ssh_url":"git@github.com:koterpillar/aloe.git","clone_url":"https://github.com/koterpillar/aloe.git","svn_url":"https://github.com/koterpillar/aloe","homepage":null,"size":16213,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koterpillar/aloe/pulls/49"},"html":{"href":"https://github.com/koterpillar/aloe/pull/49"},"issue":{"href":"https://api.github.com/repos/koterpillar/aloe/issues/49"},"comments":{"href":"https://api.github.com/repos/koterpillar/aloe/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/koterpillar/aloe/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/koterpillar/aloe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koterpillar/aloe/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/koterpillar/aloe/statuses/93680c0e611b3b0c38e1ec337cbbaaa7feb752cc"}}}}