{"action":"created","comment":{"url":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments/35415402","id":35415402,"diff_hunk":"@@ -271,6 +277,39 @@ re_count_num_of_groups (re_parser_ctx_t *parser_ctx_p) /**< RegExp parser contex\n } /* re_count_num_of_groups */\n \n /**\n+ * Helper function for \\x and \\u. Read hexa or decimal numbers and convert to\n+ * unicode codeunit.\n+ *\n+ * @return completion value\n+ *         Returned value must be freed with ecma_free_completion_value\n+ */\n+static ecma_completion_value_t\n+re_get_codeunit_from_string (lit_utf8_iterator_t *iter, /**< input string iterator*/\n+                             ecma_char_t *codeunit, /**< Output: read codeunit */\n+                             bool is_hexa) /**< true: read hexa, false: read unicode */\n+{\n+  ecma_completion_value_t ret_value = ecma_make_empty_completion_value ();\n+  *codeunit = LIT_UNICODE_CODE_POINT_NULL;\n+  uint32_t base = is_hexa ? 16u : 10u;\n+\n+  for (int i = 0; i < (is_hexa ? 2 : 4); i++)","path":"jerry-core/parser/regexp/re-parser.cpp","position":239,"original_position":239,"commit_id":"5755987dbb07f1a3f184c677b457c46cba2e33b3","original_commit_id":"5755987dbb07f1a3f184c677b457c46cba2e33b3","user":{"login":"ruben-ayrapetyan","id":11939769,"avatar_url":"https://avatars.githubusercontent.com/u/11939769?v=3","gravatar_id":"","url":"https://api.github.com/users/ruben-ayrapetyan","html_url":"https://github.com/ruben-ayrapetyan","followers_url":"https://api.github.com/users/ruben-ayrapetyan/followers","following_url":"https://api.github.com/users/ruben-ayrapetyan/following{/other_user}","gists_url":"https://api.github.com/users/ruben-ayrapetyan/gists{/gist_id}","starred_url":"https://api.github.com/users/ruben-ayrapetyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruben-ayrapetyan/subscriptions","organizations_url":"https://api.github.com/users/ruben-ayrapetyan/orgs","repos_url":"https://api.github.com/users/ruben-ayrapetyan/repos","events_url":"https://api.github.com/users/ruben-ayrapetyan/events{/privacy}","received_events_url":"https://api.github.com/users/ruben-ayrapetyan/received_events","type":"User","site_admin":false},"body":"Maybe, `lit_read_code_point_from_hex` could be used for the conversion.","created_at":"2015-07-24T11:48:57Z","updated_at":"2015-07-24T11:48:57Z","html_url":"https://github.com/Samsung/jerryscript/pull/448#discussion_r35415402","pull_request_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/448","_links":{"self":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments/35415402"},"html":{"href":"https://github.com/Samsung/jerryscript/pull/448#discussion_r35415402"},"pull_request":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/448"}}},"pull_request":{"url":"https://api.github.com/repos/Samsung/jerryscript/pulls/448","id":40557448,"html_url":"https://github.com/Samsung/jerryscript/pull/448","diff_url":"https://github.com/Samsung/jerryscript/pull/448.diff","patch_url":"https://github.com/Samsung/jerryscript/pull/448.patch","issue_url":"https://api.github.com/repos/Samsung/jerryscript/issues/448","number":448,"state":"open","locked":false,"title":"Regexp unicode dev","user":{"login":"LaszloLango","id":10030017,"avatar_url":"https://avatars.githubusercontent.com/u/10030017?v=3","gravatar_id":"","url":"https://api.github.com/users/LaszloLango","html_url":"https://github.com/LaszloLango","followers_url":"https://api.github.com/users/LaszloLango/followers","following_url":"https://api.github.com/users/LaszloLango/following{/other_user}","gists_url":"https://api.github.com/users/LaszloLango/gists{/gist_id}","starred_url":"https://api.github.com/users/LaszloLango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaszloLango/subscriptions","organizations_url":"https://api.github.com/users/LaszloLango/orgs","repos_url":"https://api.github.com/users/LaszloLango/repos","events_url":"https://api.github.com/users/LaszloLango/events{/privacy}","received_events_url":"https://api.github.com/users/LaszloLango/received_events","type":"User","site_admin":false},"body":"JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com\r\nJerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com","created_at":"2015-07-22T12:04:12Z","updated_at":"2015-07-24T11:48:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"178035cfeff6151ce8db9c793ed383479a1431c8","assignee":{"login":"LaszloLango","id":10030017,"avatar_url":"https://avatars.githubusercontent.com/u/10030017?v=3","gravatar_id":"","url":"https://api.github.com/users/LaszloLango","html_url":"https://github.com/LaszloLango","followers_url":"https://api.github.com/users/LaszloLango/followers","following_url":"https://api.github.com/users/LaszloLango/following{/other_user}","gists_url":"https://api.github.com/users/LaszloLango/gists{/gist_id}","starred_url":"https://api.github.com/users/LaszloLango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaszloLango/subscriptions","organizations_url":"https://api.github.com/users/LaszloLango/orgs","repos_url":"https://api.github.com/users/LaszloLango/repos","events_url":"https://api.github.com/users/LaszloLango/events{/privacy}","received_events_url":"https://api.github.com/users/LaszloLango/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Samsung/jerryscript/milestones/2","html_url":"https://github.com/Samsung/jerryscript/milestones/ECMA%20builtins","labels_url":"https://api.github.com/repos/Samsung/jerryscript/milestones/2/labels","id":1120294,"number":2,"title":"ECMA builtins","description":"","creator":{"login":"galpeter","id":12067856,"avatar_url":"https://avatars.githubusercontent.com/u/12067856?v=3","gravatar_id":"","url":"https://api.github.com/users/galpeter","html_url":"https://github.com/galpeter","followers_url":"https://api.github.com/users/galpeter/followers","following_url":"https://api.github.com/users/galpeter/following{/other_user}","gists_url":"https://api.github.com/users/galpeter/gists{/gist_id}","starred_url":"https://api.github.com/users/galpeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galpeter/subscriptions","organizations_url":"https://api.github.com/users/galpeter/orgs","repos_url":"https://api.github.com/users/galpeter/repos","events_url":"https://api.github.com/users/galpeter/events{/privacy}","received_events_url":"https://api.github.com/users/galpeter/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":123,"state":"open","created_at":"2015-05-20T08:01:13Z","updated_at":"2015-07-24T11:00:37Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/448/commits","review_comments_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/448/comments","review_comment_url":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/issues/448/comments","statuses_url":"https://api.github.com/repos/Samsung/jerryscript/statuses/5755987dbb07f1a3f184c677b457c46cba2e33b3","head":{"label":"LaszloLango:regexp_unicode_dev","ref":"regexp_unicode_dev","sha":"5755987dbb07f1a3f184c677b457c46cba2e33b3","user":{"login":"LaszloLango","id":10030017,"avatar_url":"https://avatars.githubusercontent.com/u/10030017?v=3","gravatar_id":"","url":"https://api.github.com/users/LaszloLango","html_url":"https://github.com/LaszloLango","followers_url":"https://api.github.com/users/LaszloLango/followers","following_url":"https://api.github.com/users/LaszloLango/following{/other_user}","gists_url":"https://api.github.com/users/LaszloLango/gists{/gist_id}","starred_url":"https://api.github.com/users/LaszloLango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaszloLango/subscriptions","organizations_url":"https://api.github.com/users/LaszloLango/orgs","repos_url":"https://api.github.com/users/LaszloLango/repos","events_url":"https://api.github.com/users/LaszloLango/events{/privacy}","received_events_url":"https://api.github.com/users/LaszloLango/received_events","type":"User","site_admin":false},"repo":{"id":38432323,"name":"jerryscript","full_name":"LaszloLango/jerryscript","owner":{"login":"LaszloLango","id":10030017,"avatar_url":"https://avatars.githubusercontent.com/u/10030017?v=3","gravatar_id":"","url":"https://api.github.com/users/LaszloLango","html_url":"https://github.com/LaszloLango","followers_url":"https://api.github.com/users/LaszloLango/followers","following_url":"https://api.github.com/users/LaszloLango/following{/other_user}","gists_url":"https://api.github.com/users/LaszloLango/gists{/gist_id}","starred_url":"https://api.github.com/users/LaszloLango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaszloLango/subscriptions","organizations_url":"https://api.github.com/users/LaszloLango/orgs","repos_url":"https://api.github.com/users/LaszloLango/repos","events_url":"https://api.github.com/users/LaszloLango/events{/privacy}","received_events_url":"https://api.github.com/users/LaszloLango/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LaszloLango/jerryscript","description":"","fork":true,"url":"https://api.github.com/repos/LaszloLango/jerryscript","forks_url":"https://api.github.com/repos/LaszloLango/jerryscript/forks","keys_url":"https://api.github.com/repos/LaszloLango/jerryscript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaszloLango/jerryscript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaszloLango/jerryscript/teams","hooks_url":"https://api.github.com/repos/LaszloLango/jerryscript/hooks","issue_events_url":"https://api.github.com/repos/LaszloLango/jerryscript/issues/events{/number}","events_url":"https://api.github.com/repos/LaszloLango/jerryscript/events","assignees_url":"https://api.github.com/repos/LaszloLango/jerryscript/assignees{/user}","branches_url":"https://api.github.com/repos/LaszloLango/jerryscript/branches{/branch}","tags_url":"https://api.github.com/repos/LaszloLango/jerryscript/tags","blobs_url":"https://api.github.com/repos/LaszloLango/jerryscript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaszloLango/jerryscript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaszloLango/jerryscript/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaszloLango/jerryscript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaszloLango/jerryscript/statuses/{sha}","languages_url":"https://api.github.com/repos/LaszloLango/jerryscript/languages","stargazers_url":"https://api.github.com/repos/LaszloLango/jerryscript/stargazers","contributors_url":"https://api.github.com/repos/LaszloLango/jerryscript/contributors","subscribers_url":"https://api.github.com/repos/LaszloLango/jerryscript/subscribers","subscription_url":"https://api.github.com/repos/LaszloLango/jerryscript/subscription","commits_url":"https://api.github.com/repos/LaszloLango/jerryscript/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaszloLango/jerryscript/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaszloLango/jerryscript/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaszloLango/jerryscript/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaszloLango/jerryscript/contents/{+path}","compare_url":"https://api.github.com/repos/LaszloLango/jerryscript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaszloLango/jerryscript/merges","archive_url":"https://api.github.com/repos/LaszloLango/jerryscript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaszloLango/jerryscript/downloads","issues_url":"https://api.github.com/repos/LaszloLango/jerryscript/issues{/number}","pulls_url":"https://api.github.com/repos/LaszloLango/jerryscript/pulls{/number}","milestones_url":"https://api.github.com/repos/LaszloLango/jerryscript/milestones{/number}","notifications_url":"https://api.github.com/repos/LaszloLango/jerryscript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaszloLango/jerryscript/labels{/name}","releases_url":"https://api.github.com/repos/LaszloLango/jerryscript/releases{/id}","created_at":"2015-07-02T12:47:42Z","updated_at":"2015-07-02T12:47:44Z","pushed_at":"2015-07-24T11:31:54Z","git_url":"git://github.com/LaszloLango/jerryscript.git","ssh_url":"git@github.com:LaszloLango/jerryscript.git","clone_url":"https://github.com/LaszloLango/jerryscript.git","svn_url":"https://github.com/LaszloLango/jerryscript","homepage":null,"size":3941,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"Samsung:master","ref":"master","sha":"ed16f090191f4434f4095f35d7d984064166f9e2","user":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars.githubusercontent.com/u/6210390?v=3","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"repo":{"id":33339660,"name":"jerryscript","full_name":"Samsung/jerryscript","owner":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars.githubusercontent.com/u/6210390?v=3","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Samsung/jerryscript","description":"","fork":false,"url":"https://api.github.com/repos/Samsung/jerryscript","forks_url":"https://api.github.com/repos/Samsung/jerryscript/forks","keys_url":"https://api.github.com/repos/Samsung/jerryscript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Samsung/jerryscript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Samsung/jerryscript/teams","hooks_url":"https://api.github.com/repos/Samsung/jerryscript/hooks","issue_events_url":"https://api.github.com/repos/Samsung/jerryscript/issues/events{/number}","events_url":"https://api.github.com/repos/Samsung/jerryscript/events","assignees_url":"https://api.github.com/repos/Samsung/jerryscript/assignees{/user}","branches_url":"https://api.github.com/repos/Samsung/jerryscript/branches{/branch}","tags_url":"https://api.github.com/repos/Samsung/jerryscript/tags","blobs_url":"https://api.github.com/repos/Samsung/jerryscript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Samsung/jerryscript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Samsung/jerryscript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Samsung/jerryscript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Samsung/jerryscript/statuses/{sha}","languages_url":"https://api.github.com/repos/Samsung/jerryscript/languages","stargazers_url":"https://api.github.com/repos/Samsung/jerryscript/stargazers","contributors_url":"https://api.github.com/repos/Samsung/jerryscript/contributors","subscribers_url":"https://api.github.com/repos/Samsung/jerryscript/subscribers","subscription_url":"https://api.github.com/repos/Samsung/jerryscript/subscription","commits_url":"https://api.github.com/repos/Samsung/jerryscript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Samsung/jerryscript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Samsung/jerryscript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Samsung/jerryscript/contents/{+path}","compare_url":"https://api.github.com/repos/Samsung/jerryscript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Samsung/jerryscript/merges","archive_url":"https://api.github.com/repos/Samsung/jerryscript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Samsung/jerryscript/downloads","issues_url":"https://api.github.com/repos/Samsung/jerryscript/issues{/number}","pulls_url":"https://api.github.com/repos/Samsung/jerryscript/pulls{/number}","milestones_url":"https://api.github.com/repos/Samsung/jerryscript/milestones{/number}","notifications_url":"https://api.github.com/repos/Samsung/jerryscript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Samsung/jerryscript/labels{/name}","releases_url":"https://api.github.com/repos/Samsung/jerryscript/releases{/id}","created_at":"2015-04-03T01:10:31Z","updated_at":"2015-07-24T07:54:10Z","pushed_at":"2015-07-24T11:31:55Z","git_url":"git://github.com/Samsung/jerryscript.git","ssh_url":"git@github.com:Samsung/jerryscript.git","clone_url":"https://github.com/Samsung/jerryscript.git","svn_url":"https://github.com/Samsung/jerryscript","homepage":null,"size":12983,"stargazers_count":50,"watchers_count":50,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":109,"forks":15,"open_issues":109,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/448"},"html":{"href":"https://github.com/Samsung/jerryscript/pull/448"},"issue":{"href":"https://api.github.com/repos/Samsung/jerryscript/issues/448"},"comments":{"href":"https://api.github.com/repos/Samsung/jerryscript/issues/448/comments"},"review_comments":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/448/comments"},"review_comment":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Samsung/jerryscript/pulls/448/commits"},"statuses":{"href":"https://api.github.com/repos/Samsung/jerryscript/statuses/5755987dbb07f1a3f184c677b457c46cba2e33b3"}}}}