{"action":"created","comment":{"url":"https://api.github.com/repos/lk-geimfari/expynent/pulls/comments/224984765","pull_request_review_id":164490310,"id":224984765,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDk4NDc2NQ==","diff_hunk":"@@ -320,7 +320,9 @@\n     # Regex pattern to match Taiwanese license plates\n     'TW': r'(^[A-Z0-9]{2,3}-\\d{2,4}$)|(^\\d{2,3}-[A-Z0-9]{2,3}$)|(^\\d{4}-[A-Z0-9]{2}$)|',\n     # Regex pattern to match French license plates\n-    'FR': r'(^[A-Z]{2}-\\d{3}-[A-Z]{2}$)|(^\\d{1,4}\\s[A-Z]{1,3}\\s\\d{2}$)'\n+    'FR': r'(^[A-Z]{2}-\\d{3}-[A-Z]{2}$)|(^\\d{1,4}\\s[A-Z]{1,3}\\s\\d{2}$)',\n+    # Regex pattern to match Greek license plates\n+    'GR': r'(^[ABEZHIKMNOPTYXΑΒΕΖΗΙΚΜΝΟΡΤΥΧ]{3}-\\d{4})',","path":"expynent/patterns.py","position":7,"original_position":7,"commit_id":"7699953140f2c0d0d2dc5e7ea86718ff935d5733","original_commit_id":"86fb9eba8eca203d14e6c2cd67e97d857590a747","user":{"login":"sp1thas","id":8322266,"node_id":"MDQ6VXNlcjgzMjIyNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/8322266?v=4","gravatar_id":"","url":"https://api.github.com/users/sp1thas","html_url":"https://github.com/sp1thas","followers_url":"https://api.github.com/users/sp1thas/followers","following_url":"https://api.github.com/users/sp1thas/following{/other_user}","gists_url":"https://api.github.com/users/sp1thas/gists{/gist_id}","starred_url":"https://api.github.com/users/sp1thas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp1thas/subscriptions","organizations_url":"https://api.github.com/users/sp1thas/orgs","repos_url":"https://api.github.com/users/sp1thas/repos","events_url":"https://api.github.com/users/sp1thas/events{/privacy}","received_events_url":"https://api.github.com/users/sp1thas/received_events","type":"User","site_admin":false},"body":"sorry for missing comma. The two groups looks the same but the second contains greek characters in order to detect greek licence plate with greek characters. \r\n```python\r\n>>> a = 'ABEZHIKMNOPTYXΑΒΕΖΗΙΚΜΝΟΡΤΥΧ'\r\n>>> for latin_char, greek_char in zip(a[:14], a[14:]):\r\n...     print(latin_char, ord(latin_char), greek_char, ord(greek_char))\r\n... \r\nA 65 Α 913\r\nB 66 Β 914\r\nE 69 Ε 917\r\nZ 90 Ζ 918\r\nH 72 Η 919\r\nI 73 Ι 921\r\nK 75 Κ 922\r\nM 77 Μ 924\r\nN 78 Ν 925\r\nO 79 Ο 927\r\nP 80 Ρ 929\r\nT 84 Τ 932\r\nY 89 Υ 933\r\nX 88 Χ 935\r\n```","created_at":"2018-10-14T08:45:12Z","updated_at":"2018-10-14T08:45:12Z","html_url":"https://github.com/lk-geimfari/expynent/pull/69#discussion_r224984765","pull_request_url":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/lk-geimfari/expynent/pulls/comments/224984765"},"html":{"href":"https://github.com/lk-geimfari/expynent/pull/69#discussion_r224984765"},"pull_request":{"href":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69"}},"in_reply_to_id":224983863},"pull_request":{"url":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69","id":222699735,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjk5NzM1","html_url":"https://github.com/lk-geimfari/expynent/pull/69","diff_url":"https://github.com/lk-geimfari/expynent/pull/69.diff","patch_url":"https://github.com/lk-geimfari/expynent/pull/69.patch","issue_url":"https://api.github.com/repos/lk-geimfari/expynent/issues/69","number":69,"state":"open","locked":false,"title":"add pattern and test for greek license plates","user":{"login":"sp1thas","id":8322266,"node_id":"MDQ6VXNlcjgzMjIyNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/8322266?v=4","gravatar_id":"","url":"https://api.github.com/users/sp1thas","html_url":"https://github.com/sp1thas","followers_url":"https://api.github.com/users/sp1thas/followers","following_url":"https://api.github.com/users/sp1thas/following{/other_user}","gists_url":"https://api.github.com/users/sp1thas/gists{/gist_id}","starred_url":"https://api.github.com/users/sp1thas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp1thas/subscriptions","organizations_url":"https://api.github.com/users/sp1thas/orgs","repos_url":"https://api.github.com/users/sp1thas/repos","events_url":"https://api.github.com/users/sp1thas/events{/privacy}","received_events_url":"https://api.github.com/users/sp1thas/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-14T08:00:23Z","updated_at":"2018-10-14T08:45:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f326b6aac6b3f23d9680d15be10418060c377d0d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"apirobot","id":9641784,"node_id":"MDQ6VXNlcjk2NDE3ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/9641784?v=4","gravatar_id":"","url":"https://api.github.com/users/apirobot","html_url":"https://github.com/apirobot","followers_url":"https://api.github.com/users/apirobot/followers","following_url":"https://api.github.com/users/apirobot/following{/other_user}","gists_url":"https://api.github.com/users/apirobot/gists{/gist_id}","starred_url":"https://api.github.com/users/apirobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apirobot/subscriptions","organizations_url":"https://api.github.com/users/apirobot/orgs","repos_url":"https://api.github.com/users/apirobot/repos","events_url":"https://api.github.com/users/apirobot/events{/privacy}","received_events_url":"https://api.github.com/users/apirobot/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69/commits","review_comments_url":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69/comments","review_comment_url":"https://api.github.com/repos/lk-geimfari/expynent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lk-geimfari/expynent/issues/69/comments","statuses_url":"https://api.github.com/repos/lk-geimfari/expynent/statuses/7699953140f2c0d0d2dc5e7ea86718ff935d5733","head":{"label":"sp1thas:master","ref":"master","sha":"7699953140f2c0d0d2dc5e7ea86718ff935d5733","user":{"login":"sp1thas","id":8322266,"node_id":"MDQ6VXNlcjgzMjIyNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/8322266?v=4","gravatar_id":"","url":"https://api.github.com/users/sp1thas","html_url":"https://github.com/sp1thas","followers_url":"https://api.github.com/users/sp1thas/followers","following_url":"https://api.github.com/users/sp1thas/following{/other_user}","gists_url":"https://api.github.com/users/sp1thas/gists{/gist_id}","starred_url":"https://api.github.com/users/sp1thas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp1thas/subscriptions","organizations_url":"https://api.github.com/users/sp1thas/orgs","repos_url":"https://api.github.com/users/sp1thas/repos","events_url":"https://api.github.com/users/sp1thas/events{/privacy}","received_events_url":"https://api.github.com/users/sp1thas/received_events","type":"User","site_admin":false},"repo":{"id":106096948,"node_id":"MDEwOlJlcG9zaXRvcnkxMDYwOTY5NDg=","name":"expynent","full_name":"sp1thas/expynent","private":false,"owner":{"login":"sp1thas","id":8322266,"node_id":"MDQ6VXNlcjgzMjIyNjY=","avatar_url":"https://avatars2.githubusercontent.com/u/8322266?v=4","gravatar_id":"","url":"https://api.github.com/users/sp1thas","html_url":"https://github.com/sp1thas","followers_url":"https://api.github.com/users/sp1thas/followers","following_url":"https://api.github.com/users/sp1thas/following{/other_user}","gists_url":"https://api.github.com/users/sp1thas/gists{/gist_id}","starred_url":"https://api.github.com/users/sp1thas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp1thas/subscriptions","organizations_url":"https://api.github.com/users/sp1thas/orgs","repos_url":"https://api.github.com/users/sp1thas/repos","events_url":"https://api.github.com/users/sp1thas/events{/privacy}","received_events_url":"https://api.github.com/users/sp1thas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sp1thas/expynent","description":"A library that provides regular expression patterns. If you hate to write regular expressions, then expynent can help you.","fork":true,"url":"https://api.github.com/repos/sp1thas/expynent","forks_url":"https://api.github.com/repos/sp1thas/expynent/forks","keys_url":"https://api.github.com/repos/sp1thas/expynent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sp1thas/expynent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sp1thas/expynent/teams","hooks_url":"https://api.github.com/repos/sp1thas/expynent/hooks","issue_events_url":"https://api.github.com/repos/sp1thas/expynent/issues/events{/number}","events_url":"https://api.github.com/repos/sp1thas/expynent/events","assignees_url":"https://api.github.com/repos/sp1thas/expynent/assignees{/user}","branches_url":"https://api.github.com/repos/sp1thas/expynent/branches{/branch}","tags_url":"https://api.github.com/repos/sp1thas/expynent/tags","blobs_url":"https://api.github.com/repos/sp1thas/expynent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sp1thas/expynent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sp1thas/expynent/git/refs{/sha}","trees_url":"https://api.github.com/repos/sp1thas/expynent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sp1thas/expynent/statuses/{sha}","languages_url":"https://api.github.com/repos/sp1thas/expynent/languages","stargazers_url":"https://api.github.com/repos/sp1thas/expynent/stargazers","contributors_url":"https://api.github.com/repos/sp1thas/expynent/contributors","subscribers_url":"https://api.github.com/repos/sp1thas/expynent/subscribers","subscription_url":"https://api.github.com/repos/sp1thas/expynent/subscription","commits_url":"https://api.github.com/repos/sp1thas/expynent/commits{/sha}","git_commits_url":"https://api.github.com/repos/sp1thas/expynent/git/commits{/sha}","comments_url":"https://api.github.com/repos/sp1thas/expynent/comments{/number}","issue_comment_url":"https://api.github.com/repos/sp1thas/expynent/issues/comments{/number}","contents_url":"https://api.github.com/repos/sp1thas/expynent/contents/{+path}","compare_url":"https://api.github.com/repos/sp1thas/expynent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sp1thas/expynent/merges","archive_url":"https://api.github.com/repos/sp1thas/expynent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sp1thas/expynent/downloads","issues_url":"https://api.github.com/repos/sp1thas/expynent/issues{/number}","pulls_url":"https://api.github.com/repos/sp1thas/expynent/pulls{/number}","milestones_url":"https://api.github.com/repos/sp1thas/expynent/milestones{/number}","notifications_url":"https://api.github.com/repos/sp1thas/expynent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sp1thas/expynent/labels{/name}","releases_url":"https://api.github.com/repos/sp1thas/expynent/releases{/id}","deployments_url":"https://api.github.com/repos/sp1thas/expynent/deployments","created_at":"2017-10-07T12:41:01Z","updated_at":"2018-10-14T08:15:57Z","pushed_at":"2018-10-14T08:15:56Z","git_url":"git://github.com/sp1thas/expynent.git","ssh_url":"git@github.com:sp1thas/expynent.git","clone_url":"https://github.com/sp1thas/expynent.git","svn_url":"https://github.com/sp1thas/expynent","homepage":"http://expynent.rtfd.io","size":154,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lk-geimfari:master","ref":"master","sha":"e6bf03f29bd6cac277369ebcf3a27c85a120e052","user":{"login":"lk-geimfari","id":15812620,"node_id":"MDQ6VXNlcjE1ODEyNjIw","avatar_url":"https://avatars2.githubusercontent.com/u/15812620?v=4","gravatar_id":"","url":"https://api.github.com/users/lk-geimfari","html_url":"https://github.com/lk-geimfari","followers_url":"https://api.github.com/users/lk-geimfari/followers","following_url":"https://api.github.com/users/lk-geimfari/following{/other_user}","gists_url":"https://api.github.com/users/lk-geimfari/gists{/gist_id}","starred_url":"https://api.github.com/users/lk-geimfari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lk-geimfari/subscriptions","organizations_url":"https://api.github.com/users/lk-geimfari/orgs","repos_url":"https://api.github.com/users/lk-geimfari/repos","events_url":"https://api.github.com/users/lk-geimfari/events{/privacy}","received_events_url":"https://api.github.com/users/lk-geimfari/received_events","type":"User","site_admin":false},"repo":{"id":71569142,"node_id":"MDEwOlJlcG9zaXRvcnk3MTU2OTE0Mg==","name":"expynent","full_name":"lk-geimfari/expynent","private":false,"owner":{"login":"lk-geimfari","id":15812620,"node_id":"MDQ6VXNlcjE1ODEyNjIw","avatar_url":"https://avatars2.githubusercontent.com/u/15812620?v=4","gravatar_id":"","url":"https://api.github.com/users/lk-geimfari","html_url":"https://github.com/lk-geimfari","followers_url":"https://api.github.com/users/lk-geimfari/followers","following_url":"https://api.github.com/users/lk-geimfari/following{/other_user}","gists_url":"https://api.github.com/users/lk-geimfari/gists{/gist_id}","starred_url":"https://api.github.com/users/lk-geimfari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lk-geimfari/subscriptions","organizations_url":"https://api.github.com/users/lk-geimfari/orgs","repos_url":"https://api.github.com/users/lk-geimfari/repos","events_url":"https://api.github.com/users/lk-geimfari/events{/privacy}","received_events_url":"https://api.github.com/users/lk-geimfari/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lk-geimfari/expynent","description":"A library that provides regular expression patterns. If you hate to write regular expressions, then expynent can help you.","fork":false,"url":"https://api.github.com/repos/lk-geimfari/expynent","forks_url":"https://api.github.com/repos/lk-geimfari/expynent/forks","keys_url":"https://api.github.com/repos/lk-geimfari/expynent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lk-geimfari/expynent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lk-geimfari/expynent/teams","hooks_url":"https://api.github.com/repos/lk-geimfari/expynent/hooks","issue_events_url":"https://api.github.com/repos/lk-geimfari/expynent/issues/events{/number}","events_url":"https://api.github.com/repos/lk-geimfari/expynent/events","assignees_url":"https://api.github.com/repos/lk-geimfari/expynent/assignees{/user}","branches_url":"https://api.github.com/repos/lk-geimfari/expynent/branches{/branch}","tags_url":"https://api.github.com/repos/lk-geimfari/expynent/tags","blobs_url":"https://api.github.com/repos/lk-geimfari/expynent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lk-geimfari/expynent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lk-geimfari/expynent/git/refs{/sha}","trees_url":"https://api.github.com/repos/lk-geimfari/expynent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lk-geimfari/expynent/statuses/{sha}","languages_url":"https://api.github.com/repos/lk-geimfari/expynent/languages","stargazers_url":"https://api.github.com/repos/lk-geimfari/expynent/stargazers","contributors_url":"https://api.github.com/repos/lk-geimfari/expynent/contributors","subscribers_url":"https://api.github.com/repos/lk-geimfari/expynent/subscribers","subscription_url":"https://api.github.com/repos/lk-geimfari/expynent/subscription","commits_url":"https://api.github.com/repos/lk-geimfari/expynent/commits{/sha}","git_commits_url":"https://api.github.com/repos/lk-geimfari/expynent/git/commits{/sha}","comments_url":"https://api.github.com/repos/lk-geimfari/expynent/comments{/number}","issue_comment_url":"https://api.github.com/repos/lk-geimfari/expynent/issues/comments{/number}","contents_url":"https://api.github.com/repos/lk-geimfari/expynent/contents/{+path}","compare_url":"https://api.github.com/repos/lk-geimfari/expynent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lk-geimfari/expynent/merges","archive_url":"https://api.github.com/repos/lk-geimfari/expynent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lk-geimfari/expynent/downloads","issues_url":"https://api.github.com/repos/lk-geimfari/expynent/issues{/number}","pulls_url":"https://api.github.com/repos/lk-geimfari/expynent/pulls{/number}","milestones_url":"https://api.github.com/repos/lk-geimfari/expynent/milestones{/number}","notifications_url":"https://api.github.com/repos/lk-geimfari/expynent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lk-geimfari/expynent/labels{/name}","releases_url":"https://api.github.com/repos/lk-geimfari/expynent/releases{/id}","deployments_url":"https://api.github.com/repos/lk-geimfari/expynent/deployments","created_at":"2016-10-21T13:51:09Z","updated_at":"2018-10-01T13:15:36Z","pushed_at":"2018-10-14T08:15:57Z","git_url":"git://github.com/lk-geimfari/expynent.git","ssh_url":"git@github.com:lk-geimfari/expynent.git","clone_url":"https://github.com/lk-geimfari/expynent.git","svn_url":"https://github.com/lk-geimfari/expynent","homepage":"http://expynent.rtfd.io","size":191,"stargazers_count":305,"watchers_count":305,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":49,"open_issues":1,"watchers":305,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69"},"html":{"href":"https://github.com/lk-geimfari/expynent/pull/69"},"issue":{"href":"https://api.github.com/repos/lk-geimfari/expynent/issues/69"},"comments":{"href":"https://api.github.com/repos/lk-geimfari/expynent/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/lk-geimfari/expynent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lk-geimfari/expynent/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/lk-geimfari/expynent/statuses/7699953140f2c0d0d2dc5e7ea86718ff935d5733"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sp1thas"}}