{"action":"created","comment":{"url":"https://api.github.com/repos/PrismJS/prism/pulls/comments/25968560","id":25968560,"diff_hunk":"@@ -1,13 +1,79 @@\n-// TODO:\n-// \t\t- Support for outline parameters\n-// \t\t- Support for tables\n-\n Prism.languages.gherkin = {\n+\t'pystring': {\n+\t\t'pattern': /(\"\"\"|''')[\\s\\S]+?\\1/g,\n+\t\t'alias': 'string'\n+\t},\n \t'comment': {\n-\t\tpattern: /(^|[^\\\\])(\\/\\*[\\w\\W]*?\\*\\/|((#)|(\\/\\/)).*?(\\r?\\n|$))/g,\n-\t\tlookbehind: true\n+\t\t'pattern': /(^|\\n)[ \\t]*#.*/g,\n+\t\t'lookbehind': true\n+\t},\n+\t'tag': {\n+\t\t'pattern': /(^|\\n)[ \\t]*@.*/g,\n+\t\t'lookbehind': true\n+\t},\n+\t'feature': {\n+\t\t'pattern': /(^|\\n)[ \\t]*(Ability|Ahoy matey\\!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|laH|Lastnost|Mak|Mogucnost|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|perbogh|poQbogh malja'|Potrzeba biznesowa|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):([^:]+\\n)*/,","path":"components/prism-gherkin.js","position":21,"original_position":21,"commit_id":"569e4df42366bd0e109ecaa841f24e738e2a8119","original_commit_id":"569e4df42366bd0e109ecaa841f24e738e2a8119","user":{"login":"Golmote","id":565460,"avatar_url":"https://avatars.githubusercontent.com/u/565460?v=3","gravatar_id":"","url":"https://api.github.com/users/Golmote","html_url":"https://github.com/Golmote","followers_url":"https://api.github.com/users/Golmote/followers","following_url":"https://api.github.com/users/Golmote/following{/other_user}","gists_url":"https://api.github.com/users/Golmote/gists{/gist_id}","starred_url":"https://api.github.com/users/Golmote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Golmote/subscriptions","organizations_url":"https://api.github.com/users/Golmote/orgs","repos_url":"https://api.github.com/users/Golmote/repos","events_url":"https://api.github.com/users/Golmote/events{/privacy}","received_events_url":"https://api.github.com/users/Golmote/received_events","type":"User","site_admin":false},"body":"The `!` character does not need to be escaped, AFAIK.","created_at":"2015-03-06T19:06:54Z","updated_at":"2015-03-06T19:06:54Z","html_url":"https://github.com/PrismJS/prism/pull/502#discussion_r25968560","pull_request_url":"https://api.github.com/repos/PrismJS/prism/pulls/502","_links":{"self":{"href":"https://api.github.com/repos/PrismJS/prism/pulls/comments/25968560"},"html":{"href":"https://github.com/PrismJS/prism/pull/502#discussion_r25968560"},"pull_request":{"href":"https://api.github.com/repos/PrismJS/prism/pulls/502"}}},"pull_request":{"url":"https://api.github.com/repos/PrismJS/prism/pulls/502","id":29979271,"html_url":"https://github.com/PrismJS/prism/pull/502","diff_url":"https://github.com/PrismJS/prism/pull/502.diff","patch_url":"https://github.com/PrismJS/prism/pull/502.patch","issue_url":"https://api.github.com/repos/PrismJS/prism/issues/502","number":502,"state":"open","locked":false,"title":"Improved gherkin highlighter","user":{"login":"hason","id":288535,"avatar_url":"https://avatars.githubusercontent.com/u/288535?v=3","gravatar_id":"","url":"https://api.github.com/users/hason","html_url":"https://github.com/hason","followers_url":"https://api.github.com/users/hason/followers","following_url":"https://api.github.com/users/hason/following{/other_user}","gists_url":"https://api.github.com/users/hason/gists{/gist_id}","starred_url":"https://api.github.com/users/hason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hason/subscriptions","organizations_url":"https://api.github.com/users/hason/orgs","repos_url":"https://api.github.com/users/hason/repos","events_url":"https://api.github.com/users/hason/events{/privacy}","received_events_url":"https://api.github.com/users/hason/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-25T11:25:43Z","updated_at":"2015-03-06T19:06:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b84fd76fbf87c0e8774d9cded8fdaa414e3a1c3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PrismJS/prism/pulls/502/commits","review_comments_url":"https://api.github.com/repos/PrismJS/prism/pulls/502/comments","review_comment_url":"https://api.github.com/repos/PrismJS/prism/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrismJS/prism/issues/502/comments","statuses_url":"https://api.github.com/repos/PrismJS/prism/statuses/569e4df42366bd0e109ecaa841f24e738e2a8119","head":{"label":"hason:gherkin","ref":"gherkin","sha":"569e4df42366bd0e109ecaa841f24e738e2a8119","user":{"login":"hason","id":288535,"avatar_url":"https://avatars.githubusercontent.com/u/288535?v=3","gravatar_id":"","url":"https://api.github.com/users/hason","html_url":"https://github.com/hason","followers_url":"https://api.github.com/users/hason/followers","following_url":"https://api.github.com/users/hason/following{/other_user}","gists_url":"https://api.github.com/users/hason/gists{/gist_id}","starred_url":"https://api.github.com/users/hason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hason/subscriptions","organizations_url":"https://api.github.com/users/hason/orgs","repos_url":"https://api.github.com/users/hason/repos","events_url":"https://api.github.com/users/hason/events{/privacy}","received_events_url":"https://api.github.com/users/hason/received_events","type":"User","site_admin":false},"repo":{"id":31124830,"name":"prism","full_name":"hason/prism","owner":{"login":"hason","id":288535,"avatar_url":"https://avatars.githubusercontent.com/u/288535?v=3","gravatar_id":"","url":"https://api.github.com/users/hason","html_url":"https://github.com/hason","followers_url":"https://api.github.com/users/hason/followers","following_url":"https://api.github.com/users/hason/following{/other_user}","gists_url":"https://api.github.com/users/hason/gists{/gist_id}","starred_url":"https://api.github.com/users/hason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hason/subscriptions","organizations_url":"https://api.github.com/users/hason/orgs","repos_url":"https://api.github.com/users/hason/repos","events_url":"https://api.github.com/users/hason/events{/privacy}","received_events_url":"https://api.github.com/users/hason/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hason/prism","description":"Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet. ","fork":true,"url":"https://api.github.com/repos/hason/prism","forks_url":"https://api.github.com/repos/hason/prism/forks","keys_url":"https://api.github.com/repos/hason/prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hason/prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hason/prism/teams","hooks_url":"https://api.github.com/repos/hason/prism/hooks","issue_events_url":"https://api.github.com/repos/hason/prism/issues/events{/number}","events_url":"https://api.github.com/repos/hason/prism/events","assignees_url":"https://api.github.com/repos/hason/prism/assignees{/user}","branches_url":"https://api.github.com/repos/hason/prism/branches{/branch}","tags_url":"https://api.github.com/repos/hason/prism/tags","blobs_url":"https://api.github.com/repos/hason/prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hason/prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hason/prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/hason/prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hason/prism/statuses/{sha}","languages_url":"https://api.github.com/repos/hason/prism/languages","stargazers_url":"https://api.github.com/repos/hason/prism/stargazers","contributors_url":"https://api.github.com/repos/hason/prism/contributors","subscribers_url":"https://api.github.com/repos/hason/prism/subscribers","subscription_url":"https://api.github.com/repos/hason/prism/subscription","commits_url":"https://api.github.com/repos/hason/prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/hason/prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/hason/prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/hason/prism/issues/comments{/number}","contents_url":"https://api.github.com/repos/hason/prism/contents/{+path}","compare_url":"https://api.github.com/repos/hason/prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hason/prism/merges","archive_url":"https://api.github.com/repos/hason/prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hason/prism/downloads","issues_url":"https://api.github.com/repos/hason/prism/issues{/number}","pulls_url":"https://api.github.com/repos/hason/prism/pulls{/number}","milestones_url":"https://api.github.com/repos/hason/prism/milestones{/number}","notifications_url":"https://api.github.com/repos/hason/prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hason/prism/labels{/name}","releases_url":"https://api.github.com/repos/hason/prism/releases{/id}","created_at":"2015-02-21T12:24:21Z","updated_at":"2015-02-21T12:24:21Z","pushed_at":"2015-03-03T22:23:28Z","git_url":"git://github.com/hason/prism.git","ssh_url":"git@github.com:hason/prism.git","clone_url":"https://github.com/hason/prism.git","svn_url":"https://github.com/hason/prism","homepage":"http://prismjs.com","size":2071,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"PrismJS:gh-pages","ref":"gh-pages","sha":"fd3bea7f0d471370f4dcb26b010c0952bdee14c0","user":{"login":"PrismJS","id":11140484,"avatar_url":"https://avatars.githubusercontent.com/u/11140484?v=3","gravatar_id":"","url":"https://api.github.com/users/PrismJS","html_url":"https://github.com/PrismJS","followers_url":"https://api.github.com/users/PrismJS/followers","following_url":"https://api.github.com/users/PrismJS/following{/other_user}","gists_url":"https://api.github.com/users/PrismJS/gists{/gist_id}","starred_url":"https://api.github.com/users/PrismJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrismJS/subscriptions","organizations_url":"https://api.github.com/users/PrismJS/orgs","repos_url":"https://api.github.com/users/PrismJS/repos","events_url":"https://api.github.com/users/PrismJS/events{/privacy}","received_events_url":"https://api.github.com/users/PrismJS/received_events","type":"Organization","site_admin":false},"repo":{"id":4979467,"name":"prism","full_name":"PrismJS/prism","owner":{"login":"PrismJS","id":11140484,"avatar_url":"https://avatars.githubusercontent.com/u/11140484?v=3","gravatar_id":"","url":"https://api.github.com/users/PrismJS","html_url":"https://github.com/PrismJS","followers_url":"https://api.github.com/users/PrismJS/followers","following_url":"https://api.github.com/users/PrismJS/following{/other_user}","gists_url":"https://api.github.com/users/PrismJS/gists{/gist_id}","starred_url":"https://api.github.com/users/PrismJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrismJS/subscriptions","organizations_url":"https://api.github.com/users/PrismJS/orgs","repos_url":"https://api.github.com/users/PrismJS/repos","events_url":"https://api.github.com/users/PrismJS/events{/privacy}","received_events_url":"https://api.github.com/users/PrismJS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrismJS/prism","description":"Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet. ","fork":false,"url":"https://api.github.com/repos/PrismJS/prism","forks_url":"https://api.github.com/repos/PrismJS/prism/forks","keys_url":"https://api.github.com/repos/PrismJS/prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrismJS/prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrismJS/prism/teams","hooks_url":"https://api.github.com/repos/PrismJS/prism/hooks","issue_events_url":"https://api.github.com/repos/PrismJS/prism/issues/events{/number}","events_url":"https://api.github.com/repos/PrismJS/prism/events","assignees_url":"https://api.github.com/repos/PrismJS/prism/assignees{/user}","branches_url":"https://api.github.com/repos/PrismJS/prism/branches{/branch}","tags_url":"https://api.github.com/repos/PrismJS/prism/tags","blobs_url":"https://api.github.com/repos/PrismJS/prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrismJS/prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrismJS/prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrismJS/prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrismJS/prism/statuses/{sha}","languages_url":"https://api.github.com/repos/PrismJS/prism/languages","stargazers_url":"https://api.github.com/repos/PrismJS/prism/stargazers","contributors_url":"https://api.github.com/repos/PrismJS/prism/contributors","subscribers_url":"https://api.github.com/repos/PrismJS/prism/subscribers","subscription_url":"https://api.github.com/repos/PrismJS/prism/subscription","commits_url":"https://api.github.com/repos/PrismJS/prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrismJS/prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrismJS/prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrismJS/prism/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrismJS/prism/contents/{+path}","compare_url":"https://api.github.com/repos/PrismJS/prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrismJS/prism/merges","archive_url":"https://api.github.com/repos/PrismJS/prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrismJS/prism/downloads","issues_url":"https://api.github.com/repos/PrismJS/prism/issues{/number}","pulls_url":"https://api.github.com/repos/PrismJS/prism/pulls{/number}","milestones_url":"https://api.github.com/repos/PrismJS/prism/milestones{/number}","notifications_url":"https://api.github.com/repos/PrismJS/prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrismJS/prism/labels{/name}","releases_url":"https://api.github.com/repos/PrismJS/prism/releases{/id}","created_at":"2012-07-10T19:47:14Z","updated_at":"2015-03-05T07:05:26Z","pushed_at":"2015-03-04T14:15:54Z","git_url":"git://github.com/PrismJS/prism.git","ssh_url":"git@github.com:PrismJS/prism.git","clone_url":"https://github.com/PrismJS/prism.git","svn_url":"https://github.com/PrismJS/prism","homepage":"http://prismjs.com","size":5544,"stargazers_count":2023,"watchers_count":2023,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":290,"mirror_url":null,"open_issues_count":121,"forks":290,"open_issues":121,"watchers":2023,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/PrismJS/prism/pulls/502"},"html":{"href":"https://github.com/PrismJS/prism/pull/502"},"issue":{"href":"https://api.github.com/repos/PrismJS/prism/issues/502"},"comments":{"href":"https://api.github.com/repos/PrismJS/prism/issues/502/comments"},"review_comments":{"href":"https://api.github.com/repos/PrismJS/prism/pulls/502/comments"},"review_comment":{"href":"https://api.github.com/repos/PrismJS/prism/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrismJS/prism/pulls/502/commits"},"statuses":{"href":"https://api.github.com/repos/PrismJS/prism/statuses/569e4df42366bd0e109ecaa841f24e738e2a8119"}}}}