{"action":"created","issue":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/176","repository_url":"https://api.github.com/repos/BurntSushi/ripgrep","labels_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/176/comments","events_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/176/events","html_url":"https://github.com/BurntSushi/ripgrep/issues/176","id":182906143,"node_id":"MDU6SXNzdWUxODI5MDYxNDM=","number":176,"title":"support searching across multiple lines","user":{"login":"isobit","id":3468064,"node_id":"MDQ6VXNlcjM0NjgwNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3468064?v=4","gravatar_id":"","url":"https://api.github.com/users/isobit","html_url":"https://github.com/isobit","followers_url":"https://api.github.com/users/isobit/followers","following_url":"https://api.github.com/users/isobit/following{/other_user}","gists_url":"https://api.github.com/users/isobit/gists{/gist_id}","starred_url":"https://api.github.com/users/isobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isobit/subscriptions","organizations_url":"https://api.github.com/users/isobit/orgs","repos_url":"https://api.github.com/users/isobit/repos","events_url":"https://api.github.com/users/isobit/events{/privacy}","received_events_url":"https://api.github.com/users/isobit/received_events","type":"User","site_admin":false},"labels":[{"id":339721680,"node_id":"MDU6TGFiZWwzMzk3MjE2ODA=","url":"https://api.github.com/repos/BurntSushi/ripgrep/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":515719974,"node_id":"MDU6TGFiZWw1MTU3MTk5NzQ=","url":"https://api.github.com/repos/BurntSushi/ripgrep/labels/libripgrep","name":"libripgrep","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/milestones/1","html_url":"https://github.com/BurntSushi/ripgrep/milestone/1","labels_url":"https://api.github.com/repos/BurntSushi/ripgrep/milestones/1/labels","id":2239591,"node_id":"MDk6TWlsZXN0b25lMjIzOTU5MQ==","number":1,"title":"libripgrep","description":"","creator":{"login":"BurntSushi","id":456674,"node_id":"MDQ6VXNlcjQ1NjY3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/456674?v=4","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":5,"state":"open","created_at":"2017-01-10T02:04:10Z","updated_at":"2018-06-03T21:03:00Z","due_on":null,"closed_at":null},"comments":46,"created_at":"2016-10-13T21:31:20Z","updated_at":"2018-07-05T00:38:39Z","closed_at":null,"author_association":"NONE","body":"Say for example I'm trying to find instances of `click` that reside in a `listeners` block, like so:\n\n```\nlisteners: {\n    foo: ...\n    click: ....\n}\n```\n\nAccording to the Rust regex docs, I should be able to do: `rg '(?s)listeners.+click'`, but this doesn't seem to work. Does ripgrep not support multiline regex?\n"},"comment":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/comments/402576647","html_url":"https://github.com/BurntSushi/ripgrep/issues/176#issuecomment-402576647","issue_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/176","id":402576647,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjU3NjY0Nw==","user":{"login":"thijsvandien","id":2722238,"node_id":"MDQ6VXNlcjI3MjIyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/2722238?v=4","gravatar_id":"","url":"https://api.github.com/users/thijsvandien","html_url":"https://github.com/thijsvandien","followers_url":"https://api.github.com/users/thijsvandien/followers","following_url":"https://api.github.com/users/thijsvandien/following{/other_user}","gists_url":"https://api.github.com/users/thijsvandien/gists{/gist_id}","starred_url":"https://api.github.com/users/thijsvandien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thijsvandien/subscriptions","organizations_url":"https://api.github.com/users/thijsvandien/orgs","repos_url":"https://api.github.com/users/thijsvandien/repos","events_url":"https://api.github.com/users/thijsvandien/events{/privacy}","received_events_url":"https://api.github.com/users/thijsvandien/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T00:38:39Z","updated_at":"2018-07-05T00:38:39Z","author_association":"NONE","body":"Coming back to the question if there are other tools, I've been using `pcregrep -M` when I need multiline matching. There, a `.` does not match a `\\n` automatically, whereas `\\s` does. In fact, I wasn't able to find any option to change that."}}
{"actor":{"display_login":"thijsvandien"}}