{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/170967237","pull_request_review_id":99648316,"id":170967237,"diff_hunk":"@@ -61,27 +63,27 @@ rule \"Convert String to Item Number\"\n   when\n     Item Temperature_str changed\n  then\n-    // use the transformation service to retrieve teh value\n+    // use the transformation service to retrieve the value\n     val newValue = transform(\"REGEX\", \".*=(\\\\d*.\\\\d*).*\", Temperature_str.state.toString)\n \n     // post the new value to the Number Item\n     Temperature.postUpdate( newValue )\n  end\n ```\n \n-Now the resulting Number can also be used in the label to [change the color](https://docs.openhab.org/configuration/sitemaps.html#label-and-value-colors) or in a rule as value to compare.\n+Now the resulting Number can also be used in the label to [change the color](https://docs.openhab.org/configuration/sitemaps.html#label-and-value-colors) or in a rule as value for comparison.\n \n ## Differences to plain Regex\n \n The regex is embedded in a string so when double qoutes `\"` are used in an regex they need to be escaped `\\\"` to keep the string intact.\n As the escape character of strings is the backslash this has to be escaped additionally.\n-To use a dot as litteral in the regex it has to be escape `\\.` but in a string it has to be escaped twice `\"\\\\.\"`.\n+To use a dot as litteral in the regex it has to be escape `\\.`, but in a string it has to be escaped twice `\"\\\\.\"`.\n The first backslash escapes the second backslash in the string so it can be used in the regex.\n-Using a backslash in a Regex as litteral `\\\\` will have this form `\"\\\\\\\\\"`.\n+Using a backslash in a Regex as literal `\\\\` will have this form `\"\\\\\\\\\"`.\n \n ## Further Reading\n \n-* A full [introduction](https://www.w3schools.com/jsref/jsref_obj_regexp.asp) for regular expression at W3School.\n+* A full [introduction](https://www.w3schools.com/jsref/jsref_obj_regexp.asp) for regular expression is availabel at W3School.","path":"extensions/transform/org.eclipse.smarthome.transform.regex/README.md","position":null,"original_position":62,"commit_id":"19ebab864135c322a4bbbd03b6b12e43aec57fa5","original_commit_id":"0165b8108f547f8b7ff322654a51c18d67e9a97d","user":{"login":"triller-telekom","id":26876013,"avatar_url":"https://avatars3.githubusercontent.com/u/26876013?v=4","gravatar_id":"","url":"https://api.github.com/users/triller-telekom","html_url":"https://github.com/triller-telekom","followers_url":"https://api.github.com/users/triller-telekom/followers","following_url":"https://api.github.com/users/triller-telekom/following{/other_user}","gists_url":"https://api.github.com/users/triller-telekom/gists{/gist_id}","starred_url":"https://api.github.com/users/triller-telekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triller-telekom/subscriptions","organizations_url":"https://api.github.com/users/triller-telekom/orgs","repos_url":"https://api.github.com/users/triller-telekom/repos","events_url":"https://api.github.com/users/triller-telekom/events{/privacy}","received_events_url":"https://api.github.com/users/triller-telekom/received_events","type":"User","site_admin":false},"body":"availabel -> available","created_at":"2018-02-27T15:47:59Z","updated_at":"2018-02-27T15:48:57Z","html_url":"https://github.com/eclipse/smarthome/pull/5135#discussion_r170967237","pull_request_url":"https://api.github.com/repos/eclipse/smarthome/pulls/5135","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/170967237"},"html":{"href":"https://github.com/eclipse/smarthome/pull/5135#discussion_r170967237"},"pull_request":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5135"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/5135","id":170909113,"html_url":"https://github.com/eclipse/smarthome/pull/5135","diff_url":"https://github.com/eclipse/smarthome/pull/5135.diff","patch_url":"https://github.com/eclipse/smarthome/pull/5135.patch","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/5135","number":5135,"state":"open","locked":false,"title":"Update REGEX README.md","user":{"login":"Josar","id":6164061,"avatar_url":"https://avatars3.githubusercontent.com/u/6164061?v=4","gravatar_id":"","url":"https://api.github.com/users/Josar","html_url":"https://github.com/Josar","followers_url":"https://api.github.com/users/Josar/followers","following_url":"https://api.github.com/users/Josar/following{/other_user}","gists_url":"https://api.github.com/users/Josar/gists{/gist_id}","starred_url":"https://api.github.com/users/Josar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josar/subscriptions","organizations_url":"https://api.github.com/users/Josar/orgs","repos_url":"https://api.github.com/users/Josar/repos","events_url":"https://api.github.com/users/Josar/events{/privacy}","received_events_url":"https://api.github.com/users/Josar/received_events","type":"User","site_admin":false},"body":"More info.\r\n\r\nSigned-off-by: josar <josuaarndt@live.de>","created_at":"2018-02-23T01:07:31Z","updated_at":"2018-02-27T15:48:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54e5d76e0670340fe8ffefee831492d4991979c8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/smarthome/pulls/5135/commits","review_comments_url":"https://api.github.com/repos/eclipse/smarthome/pulls/5135/comments","review_comment_url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/5135/comments","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/19ebab864135c322a4bbbd03b6b12e43aec57fa5","head":{"label":"Josar:patch-2","ref":"patch-2","sha":"19ebab864135c322a4bbbd03b6b12e43aec57fa5","user":{"login":"Josar","id":6164061,"avatar_url":"https://avatars3.githubusercontent.com/u/6164061?v=4","gravatar_id":"","url":"https://api.github.com/users/Josar","html_url":"https://github.com/Josar","followers_url":"https://api.github.com/users/Josar/followers","following_url":"https://api.github.com/users/Josar/following{/other_user}","gists_url":"https://api.github.com/users/Josar/gists{/gist_id}","starred_url":"https://api.github.com/users/Josar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josar/subscriptions","organizations_url":"https://api.github.com/users/Josar/orgs","repos_url":"https://api.github.com/users/Josar/repos","events_url":"https://api.github.com/users/Josar/events{/privacy}","received_events_url":"https://api.github.com/users/Josar/received_events","type":"User","site_admin":false},"repo":{"id":108522186,"name":"smarthome","full_name":"Josar/smarthome","owner":{"login":"Josar","id":6164061,"avatar_url":"https://avatars3.githubusercontent.com/u/6164061?v=4","gravatar_id":"","url":"https://api.github.com/users/Josar","html_url":"https://github.com/Josar","followers_url":"https://api.github.com/users/Josar/followers","following_url":"https://api.github.com/users/Josar/following{/other_user}","gists_url":"https://api.github.com/users/Josar/gists{/gist_id}","starred_url":"https://api.github.com/users/Josar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josar/subscriptions","organizations_url":"https://api.github.com/users/Josar/orgs","repos_url":"https://api.github.com/users/Josar/repos","events_url":"https://api.github.com/users/Josar/events{/privacy}","received_events_url":"https://api.github.com/users/Josar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Josar/smarthome","description":"Eclipse SmartHome™ project","fork":true,"url":"https://api.github.com/repos/Josar/smarthome","forks_url":"https://api.github.com/repos/Josar/smarthome/forks","keys_url":"https://api.github.com/repos/Josar/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Josar/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Josar/smarthome/teams","hooks_url":"https://api.github.com/repos/Josar/smarthome/hooks","issue_events_url":"https://api.github.com/repos/Josar/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/Josar/smarthome/events","assignees_url":"https://api.github.com/repos/Josar/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/Josar/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/Josar/smarthome/tags","blobs_url":"https://api.github.com/repos/Josar/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Josar/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Josar/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/Josar/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Josar/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/Josar/smarthome/languages","stargazers_url":"https://api.github.com/repos/Josar/smarthome/stargazers","contributors_url":"https://api.github.com/repos/Josar/smarthome/contributors","subscribers_url":"https://api.github.com/repos/Josar/smarthome/subscribers","subscription_url":"https://api.github.com/repos/Josar/smarthome/subscription","commits_url":"https://api.github.com/repos/Josar/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/Josar/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/Josar/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/Josar/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/Josar/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/Josar/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Josar/smarthome/merges","archive_url":"https://api.github.com/repos/Josar/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Josar/smarthome/downloads","issues_url":"https://api.github.com/repos/Josar/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/Josar/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/Josar/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/Josar/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Josar/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/Josar/smarthome/releases{/id}","deployments_url":"https://api.github.com/repos/Josar/smarthome/deployments","created_at":"2017-10-27T08:47:02Z","updated_at":"2017-10-27T08:47:11Z","pushed_at":"2018-02-27T11:56:25Z","git_url":"git://github.com/Josar/smarthome.git","ssh_url":"git@github.com:Josar/smarthome.git","clone_url":"https://github.com/Josar/smarthome.git","svn_url":"https://github.com/Josar/smarthome","homepage":"https://www.eclipse.org/smarthome/","size":45303,"stargazers_count":0,"watchers_count":0,"language":"Java","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"e3831401564a2f35ead7e65f4e511f5f69f9b2ad","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":15778981,"name":"smarthome","full_name":"eclipse/smarthome","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/smarthome","description":"Eclipse SmartHome™ project","fork":false,"url":"https://api.github.com/repos/eclipse/smarthome","forks_url":"https://api.github.com/repos/eclipse/smarthome/forks","keys_url":"https://api.github.com/repos/eclipse/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/smarthome/teams","hooks_url":"https://api.github.com/repos/eclipse/smarthome/hooks","issue_events_url":"https://api.github.com/repos/eclipse/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/smarthome/events","assignees_url":"https://api.github.com/repos/eclipse/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/smarthome/tags","blobs_url":"https://api.github.com/repos/eclipse/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/smarthome/languages","stargazers_url":"https://api.github.com/repos/eclipse/smarthome/stargazers","contributors_url":"https://api.github.com/repos/eclipse/smarthome/contributors","subscribers_url":"https://api.github.com/repos/eclipse/smarthome/subscribers","subscription_url":"https://api.github.com/repos/eclipse/smarthome/subscription","commits_url":"https://api.github.com/repos/eclipse/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/smarthome/merges","archive_url":"https://api.github.com/repos/eclipse/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/smarthome/downloads","issues_url":"https://api.github.com/repos/eclipse/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/smarthome/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/smarthome/deployments","created_at":"2014-01-09T20:47:19Z","updated_at":"2018-02-27T14:04:31Z","pushed_at":"2018-02-27T12:12:38Z","git_url":"git://github.com/eclipse/smarthome.git","ssh_url":"git@github.com:eclipse/smarthome.git","clone_url":"https://github.com/eclipse/smarthome.git","svn_url":"https://github.com/eclipse/smarthome","homepage":"https://www.eclipse.org/smarthome/","size":49719,"stargazers_count":653,"watchers_count":653,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":635,"mirror_url":null,"archived":false,"open_issues_count":415,"license":{"key":"epl-2.0","name":"Eclipse Public License 2.0","spdx_id":"EPL-2.0","url":"https://api.github.com/licenses/epl-2.0"},"forks":635,"open_issues":415,"watchers":653,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5135"},"html":{"href":"https://github.com/eclipse/smarthome/pull/5135"},"issue":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/5135"},"comments":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/5135/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5135/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/5135/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/smarthome/statuses/19ebab864135c322a4bbbd03b6b12e43aec57fa5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"triller-telekom"}}