{"action":"created","comment":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments/87012169","pull_request_review_id":7641174,"id":87012169,"diff_hunk":"@@ -71,7 +71,7 @@ starting with ``plot_long_examples_``, you would do:\n .. code-block:: python\n \n     sphinx_gallery_conf = {\n-        'filename_pattern' : '/plot_(?!long_examples)'\n+        'filename_pattern' : '^((?!plot_long_examples_).)*$'","path":"doc/advanced_configuration.rst","position":14,"original_position":14,"commit_id":"a24a0620871e6188cf61574b5133583ac102d76a","original_commit_id":"a24a0620871e6188cf61574b5133583ac102d76a","user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"body":"Looking at this old PR, it would actually make sense to have a simpler example along these lines indeed, i.e. just show a regex that skips example starting with `skip`. This is a more common use case that running the examples which start with `plot_` but not the ones starting with `plot_long_examples`. On top of that the doc by saying \"For example, to skip building examples starting with ``plot_long_examples_``\" is slightly misleading.\r\n\r\nI would just modify the documentation. I would neither change conf.py nor add an additional examples that is skipped (we have one already: just_code.py).","created_at":"2016-11-08T15:30:05Z","updated_at":"2016-11-08T15:30:05Z","html_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/112#discussion_r87012169","pull_request_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments/87012169"},"html":{"href":"https://github.com/sphinx-gallery/sphinx-gallery/pull/112#discussion_r87012169"},"pull_request":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112","id":64194490,"html_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/112","diff_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/112.diff","patch_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/112.patch","issue_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/112","number":112,"state":"open","locked":false,"title":"Exclusion regex not working","user":{"login":"adrn","id":583379,"avatar_url":"https://avatars.githubusercontent.com/u/583379?v=3","gravatar_id":"","url":"https://api.github.com/users/adrn","html_url":"https://github.com/adrn","followers_url":"https://api.github.com/users/adrn/followers","following_url":"https://api.github.com/users/adrn/following{/other_user}","gists_url":"https://api.github.com/users/adrn/gists{/gist_id}","starred_url":"https://api.github.com/users/adrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrn/subscriptions","organizations_url":"https://api.github.com/users/adrn/orgs","repos_url":"https://api.github.com/users/adrn/repos","events_url":"https://api.github.com/users/adrn/events{/privacy}","received_events_url":"https://api.github.com/users/adrn/received_events","type":"User","site_admin":false},"body":"The exclusion pattern from the documentation was not working for me, so I added an explicit example to skip and updated the regex string.\n","created_at":"2016-03-25T18:52:16Z","updated_at":"2016-11-08T15:30:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fac8f37976d15de4643249149a9429b7786802d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112/commits","review_comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112/comments","review_comment_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/112/comments","statuses_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/a24a0620871e6188cf61574b5133583ac102d76a","head":{"label":"adrn:regex-not-working","ref":"regex-not-working","sha":"a24a0620871e6188cf61574b5133583ac102d76a","user":{"login":"adrn","id":583379,"avatar_url":"https://avatars.githubusercontent.com/u/583379?v=3","gravatar_id":"","url":"https://api.github.com/users/adrn","html_url":"https://github.com/adrn","followers_url":"https://api.github.com/users/adrn/followers","following_url":"https://api.github.com/users/adrn/following{/other_user}","gists_url":"https://api.github.com/users/adrn/gists{/gist_id}","starred_url":"https://api.github.com/users/adrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrn/subscriptions","organizations_url":"https://api.github.com/users/adrn/orgs","repos_url":"https://api.github.com/users/adrn/repos","events_url":"https://api.github.com/users/adrn/events{/privacy}","received_events_url":"https://api.github.com/users/adrn/received_events","type":"User","site_admin":false},"repo":{"id":54729058,"name":"sphinx-gallery","full_name":"adrn/sphinx-gallery","owner":{"login":"adrn","id":583379,"avatar_url":"https://avatars.githubusercontent.com/u/583379?v=3","gravatar_id":"","url":"https://api.github.com/users/adrn","html_url":"https://github.com/adrn","followers_url":"https://api.github.com/users/adrn/followers","following_url":"https://api.github.com/users/adrn/following{/other_user}","gists_url":"https://api.github.com/users/adrn/gists{/gist_id}","starred_url":"https://api.github.com/users/adrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrn/subscriptions","organizations_url":"https://api.github.com/users/adrn/orgs","repos_url":"https://api.github.com/users/adrn/repos","events_url":"https://api.github.com/users/adrn/events{/privacy}","received_events_url":"https://api.github.com/users/adrn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adrn/sphinx-gallery","description":"Sphinx extension for automatic generation of an example gallery","fork":true,"url":"https://api.github.com/repos/adrn/sphinx-gallery","forks_url":"https://api.github.com/repos/adrn/sphinx-gallery/forks","keys_url":"https://api.github.com/repos/adrn/sphinx-gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adrn/sphinx-gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adrn/sphinx-gallery/teams","hooks_url":"https://api.github.com/repos/adrn/sphinx-gallery/hooks","issue_events_url":"https://api.github.com/repos/adrn/sphinx-gallery/issues/events{/number}","events_url":"https://api.github.com/repos/adrn/sphinx-gallery/events","assignees_url":"https://api.github.com/repos/adrn/sphinx-gallery/assignees{/user}","branches_url":"https://api.github.com/repos/adrn/sphinx-gallery/branches{/branch}","tags_url":"https://api.github.com/repos/adrn/sphinx-gallery/tags","blobs_url":"https://api.github.com/repos/adrn/sphinx-gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adrn/sphinx-gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adrn/sphinx-gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/adrn/sphinx-gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adrn/sphinx-gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/adrn/sphinx-gallery/languages","stargazers_url":"https://api.github.com/repos/adrn/sphinx-gallery/stargazers","contributors_url":"https://api.github.com/repos/adrn/sphinx-gallery/contributors","subscribers_url":"https://api.github.com/repos/adrn/sphinx-gallery/subscribers","subscription_url":"https://api.github.com/repos/adrn/sphinx-gallery/subscription","commits_url":"https://api.github.com/repos/adrn/sphinx-gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/adrn/sphinx-gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/adrn/sphinx-gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/adrn/sphinx-gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/adrn/sphinx-gallery/contents/{+path}","compare_url":"https://api.github.com/repos/adrn/sphinx-gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adrn/sphinx-gallery/merges","archive_url":"https://api.github.com/repos/adrn/sphinx-gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adrn/sphinx-gallery/downloads","issues_url":"https://api.github.com/repos/adrn/sphinx-gallery/issues{/number}","pulls_url":"https://api.github.com/repos/adrn/sphinx-gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/adrn/sphinx-gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/adrn/sphinx-gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adrn/sphinx-gallery/labels{/name}","releases_url":"https://api.github.com/repos/adrn/sphinx-gallery/releases{/id}","deployments_url":"https://api.github.com/repos/adrn/sphinx-gallery/deployments","created_at":"2016-03-25T15:49:14Z","updated_at":"2016-03-25T15:49:15Z","pushed_at":"2016-04-14T12:38:06Z","git_url":"git://github.com/adrn/sphinx-gallery.git","ssh_url":"git@github.com:adrn/sphinx-gallery.git","clone_url":"https://github.com/adrn/sphinx-gallery.git","svn_url":"https://github.com/adrn/sphinx-gallery","homepage":"http://sphinx-gallery.readthedocs.org","size":683,"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":"sphinx-gallery:master","ref":"master","sha":"4406558320e75543607dc51b2427e912c05a9c94","user":{"login":"sphinx-gallery","id":9541799,"avatar_url":"https://avatars.githubusercontent.com/u/9541799?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-gallery","html_url":"https://github.com/sphinx-gallery","followers_url":"https://api.github.com/users/sphinx-gallery/followers","following_url":"https://api.github.com/users/sphinx-gallery/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-gallery/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-gallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-gallery/subscriptions","organizations_url":"https://api.github.com/users/sphinx-gallery/orgs","repos_url":"https://api.github.com/users/sphinx-gallery/repos","events_url":"https://api.github.com/users/sphinx-gallery/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-gallery/received_events","type":"Organization","site_admin":false},"repo":{"id":25860190,"name":"sphinx-gallery","full_name":"sphinx-gallery/sphinx-gallery","owner":{"login":"sphinx-gallery","id":9541799,"avatar_url":"https://avatars.githubusercontent.com/u/9541799?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-gallery","html_url":"https://github.com/sphinx-gallery","followers_url":"https://api.github.com/users/sphinx-gallery/followers","following_url":"https://api.github.com/users/sphinx-gallery/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-gallery/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-gallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-gallery/subscriptions","organizations_url":"https://api.github.com/users/sphinx-gallery/orgs","repos_url":"https://api.github.com/users/sphinx-gallery/repos","events_url":"https://api.github.com/users/sphinx-gallery/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-gallery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphinx-gallery/sphinx-gallery","description":"Sphinx extension for automatic generation of an example gallery","fork":false,"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery","forks_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/forks","keys_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/teams","hooks_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/hooks","issue_events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/events{/number}","events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/events","assignees_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/assignees{/user}","branches_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/branches{/branch}","tags_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/tags","blobs_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/languages","stargazers_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/stargazers","contributors_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/contributors","subscribers_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/subscribers","subscription_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/subscription","commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/contents/{+path}","compare_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/merges","archive_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/downloads","issues_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues{/number}","pulls_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/labels{/name}","releases_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/releases{/id}","deployments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/deployments","created_at":"2014-10-28T08:41:46Z","updated_at":"2016-11-03T13:43:21Z","pushed_at":"2016-11-08T10:43:45Z","git_url":"git://github.com/sphinx-gallery/sphinx-gallery.git","ssh_url":"git@github.com:sphinx-gallery/sphinx-gallery.git","clone_url":"https://github.com/sphinx-gallery/sphinx-gallery.git","svn_url":"https://github.com/sphinx-gallery/sphinx-gallery","homepage":"http://sphinx-gallery.readthedocs.io","size":892,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":25,"forks":22,"open_issues":25,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112"},"html":{"href":"https://github.com/sphinx-gallery/sphinx-gallery/pull/112"},"issue":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/112"},"comments":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/a24a0620871e6188cf61574b5133583ac102d76a"}}}}
{"actor":{"display_login":"lesteve"}}