-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
support searching across multiple lines #176
Copy link
Copy link
Closed
Labels
enhancementAn enhancement to the functionality of the software.An enhancement to the functionality of the software.libripgrepAn issue related to modularizing ripgrep into libraries.An issue related to modularizing ripgrep into libraries.
Milestone
Description
Say for example I'm trying to find instances of click that reside in a listeners block, like so:
listeners: {
foo: ...
click: ....
}
According 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementAn enhancement to the functionality of the software.An enhancement to the functionality of the software.libripgrepAn issue related to modularizing ripgrep into libraries.An issue related to modularizing ripgrep into libraries.