{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/4159","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/4159/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/4159/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/4159/events","html_url":"https://github.com/micropython/micropython/issues/4159","id":361139655,"node_id":"MDU6SXNzdWUzNjExMzk2NTU=","number":4159,"title":"re: regex doesn't parse newline","user":{"login":"shawwwn","id":4016736,"node_id":"MDQ6VXNlcjQwMTY3MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/4016736?v=4","gravatar_id":"","url":"https://api.github.com/users/shawwwn","html_url":"https://github.com/shawwwn","followers_url":"https://api.github.com/users/shawwwn/followers","following_url":"https://api.github.com/users/shawwwn/following{/other_user}","gists_url":"https://api.github.com/users/shawwwn/gists{/gist_id}","starred_url":"https://api.github.com/users/shawwwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawwwn/subscriptions","organizations_url":"https://api.github.com/users/shawwwn/orgs","repos_url":"https://api.github.com/users/shawwwn/repos","events_url":"https://api.github.com/users/shawwwn/events{/privacy}","received_events_url":"https://api.github.com/users/shawwwn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-18T05:20:45Z","updated_at":"2018-09-19T01:37:40Z","closed_at":"2018-09-19T01:37:40Z","author_association":"NONE","body":"`re.sub(r'\\n', 'xxx', 'aaa\\n')` \r\ncome out as:\r\n`aaa\\n`\r\n\r\nIn CPython it is:\r\n`aaaxxx`\r\n"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/422616752","html_url":"https://github.com/micropython/micropython/issues/4159#issuecomment-422616752","issue_url":"https://api.github.com/repos/micropython/micropython/issues/4159","id":422616752,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjYxNjc1Mg==","user":{"login":"dpgeorge","id":6187689,"node_id":"MDQ6VXNlcjYxODc2ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/6187689?v=4","gravatar_id":"","url":"https://api.github.com/users/dpgeorge","html_url":"https://github.com/dpgeorge","followers_url":"https://api.github.com/users/dpgeorge/followers","following_url":"https://api.github.com/users/dpgeorge/following{/other_user}","gists_url":"https://api.github.com/users/dpgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgeorge/subscriptions","organizations_url":"https://api.github.com/users/dpgeorge/orgs","repos_url":"https://api.github.com/users/dpgeorge/repos","events_url":"https://api.github.com/users/dpgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/dpgeorge/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T01:37:40Z","updated_at":"2018-09-19T01:37:40Z","author_association":"CONTRIBUTOR","body":"This is a duplicate of #3176: the current implementation of ure doesn't support some escape characters.  The workaround for the time being is to use non-r strings, eg `re.sub('\\n', 'xxx', 'aaa\\n')`"}}
{"actor":{"display_login":"dpgeorge"}}