Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find end of line #2059

Closed
broomdodger opened this issue Jul 20, 2014 · 5 comments
Closed

find end of line #2059

broomdodger opened this issue Jul 20, 2014 · 5 comments

Comments

@broomdodger
Copy link

in regex mode [.*] neither \r nor \n will find the end of line

I realize bbb$ will find bbb at the end of a line
and ^qqq will find qqq at the start of a line

But it would be nice if bbb\nqqq would find the lines that end with bbb --AND-- the next line starting with qqq.

@matthewkastor
Copy link
Contributor

(\r\n)+

@matthewkastor
Copy link
Contributor

It just uses JavaScript regex against the text.

@nightwing
Copy link
Member

@matthewkastor (\r\n)+ doesn't work too. This is a limitation of current implementation which searches line by line instead of whole text at once.

@matthewkastor
Copy link
Contributor

:O but I worked on that a long time ago and I totally hate line by line parsing! Hmmm... hmmmm... changing the default would be a nightmare flood of bug reports... I could have sworn there was a way to do it. That was so long ago... if you specify your search string with forward slashes will it be parsed as a regex object? Maybe I'm remembering a different project.

@github-actions
Copy link

github-actions bot commented May 9, 2022

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants