{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/5827","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/5827/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/5827/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/5827/events","html_url":"https://github.com/godotengine/godot/issues/5827","id":166676092,"number":5827,"title":"Escaping special characters in RegEx breaks it","user":{"login":"supaiku-o","id":1311798,"avatar_url":"https://avatars.githubusercontent.com/u/1311798?v=3","gravatar_id":"","url":"https://api.github.com/users/supaiku-o","html_url":"https://github.com/supaiku-o","followers_url":"https://api.github.com/users/supaiku-o/followers","following_url":"https://api.github.com/users/supaiku-o/following{/other_user}","gists_url":"https://api.github.com/users/supaiku-o/gists{/gist_id}","starred_url":"https://api.github.com/users/supaiku-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supaiku-o/subscriptions","organizations_url":"https://api.github.com/users/supaiku-o/orgs","repos_url":"https://api.github.com/users/supaiku-o/repos","events_url":"https://api.github.com/users/supaiku-o/events{/privacy}","received_events_url":"https://api.github.com/users/supaiku-o/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/documentation","name":"documentation","color":"ffbbff"},{"url":"https://api.github.com/repos/godotengine/godot/labels/enhancement","name":"enhancement","color":"44bbff"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/5","html_url":"https://github.com/godotengine/godot/milestones/2.1","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/5/labels","id":1449703,"number":5,"title":"2.1","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":88,"closed_issues":779,"state":"open","created_at":"2015-12-08T11:42:22Z","updated_at":"2016-07-22T08:32:23Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-07-20T20:37:53Z","updated_at":"2016-07-22T08:32:23Z","closed_at":"2016-07-22T08:32:23Z","body":"**Operating system or device - Godot version:**\r\nArch Linux - c83aa5f86383bf89871f0a41752f5c6eeb148950\r\n\r\n**Issue description**\r\nhttps://godotengine.org/qa/6247/regex-string-literal\r\nBasically, I can't use regex because of special characters. Escaping them renders the regex useless.\r\n\r\n**Steps to reproduce:**\r\n```gdscript\r\nvar text = \"test123\"\r\nvar regex = RegEx.new()\r\nregex.compile(\"/\\\\d+/g\")\r\nregex.find(text)\r\nprint(text.get_captures()) # => []\r\n```\r\n**What I expected**\r\nhttps://regex101.com/r/kF6hC9/1\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/234485683","html_url":"https://github.com/godotengine/godot/issues/5827#issuecomment-234485683","issue_url":"https://api.github.com/repos/godotengine/godot/issues/5827","id":234485683,"user":{"login":"bojidar-bg","id":5276727,"avatar_url":"https://avatars.githubusercontent.com/u/5276727?v=3","gravatar_id":"","url":"https://api.github.com/users/bojidar-bg","html_url":"https://github.com/bojidar-bg","followers_url":"https://api.github.com/users/bojidar-bg/followers","following_url":"https://api.github.com/users/bojidar-bg/following{/other_user}","gists_url":"https://api.github.com/users/bojidar-bg/gists{/gist_id}","starred_url":"https://api.github.com/users/bojidar-bg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojidar-bg/subscriptions","organizations_url":"https://api.github.com/users/bojidar-bg/orgs","repos_url":"https://api.github.com/users/bojidar-bg/repos","events_url":"https://api.github.com/users/bojidar-bg/events{/privacy}","received_events_url":"https://api.github.com/users/bojidar-bg/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T08:32:23Z","updated_at":"2016-07-22T08:32:23Z","body":"Closed by #5846 but not done by GH automatically.."}}
{"actor":{"display_login":"bojidar-bg"}}