{"action":"created","issue":{"url":"https://api.github.com/repos/pexpect/pexpect/issues/246","labels_url":"https://api.github.com/repos/pexpect/pexpect/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/pexpect/pexpect/issues/246/comments","events_url":"https://api.github.com/repos/pexpect/pexpect/issues/246/events","html_url":"https://github.com/pexpect/pexpect/issues/246","id":107150251,"number":246,"title":"Regular expression should be compiled with with re.MULTILINE flag","user":{"login":"rminsk","id":1779137,"avatar_url":"https://avatars.githubusercontent.com/u/1779137?v=3","gravatar_id":"","url":"https://api.github.com/users/rminsk","html_url":"https://github.com/rminsk","followers_url":"https://api.github.com/users/rminsk/followers","following_url":"https://api.github.com/users/rminsk/following{/other_user}","gists_url":"https://api.github.com/users/rminsk/gists{/gist_id}","starred_url":"https://api.github.com/users/rminsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rminsk/subscriptions","organizations_url":"https://api.github.com/users/rminsk/orgs","repos_url":"https://api.github.com/users/rminsk/repos","events_url":"https://api.github.com/users/rminsk/events{/privacy}","received_events_url":"https://api.github.com/users/rminsk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pexpect/pexpect/labels/needs-research","name":"needs-research","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-18T07:42:22Z","updated_at":"2015-09-25T06:50:55Z","closed_at":null,"body":"Regular expression should be compiled with with re.MULTILINE flag.  This would allow \"^\" to be used for beginning of line instead of beginning of string.  I am currently compiling my own regular expression with the MULTILINE flag and passing them in."},"comment":{"url":"https://api.github.com/repos/pexpect/pexpect/issues/comments/143144352","html_url":"https://github.com/pexpect/pexpect/issues/246#issuecomment-143144352","issue_url":"https://api.github.com/repos/pexpect/pexpect/issues/246","id":143144352,"user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T06:50:54Z","updated_at":"2015-09-25T06:50:54Z","body":"Given that you can pass compiled regexes, my instinct is not to change this\nnow. If people's code breaks because we compile it with different regex\nflags, it won't be easy to recognise that that's the cause.\n"}}