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

when find or replace at regex, such as ^$\r\n,\r\n cannot be recognized. #16

Open
cxasm opened this issue Oct 31, 2022 · 0 comments
Open

Comments

@cxasm
Copy link

cxasm commented Oct 31, 2022

when find or replace at regex, such as ^$\r\n, The newline symbol at the end of the line cannot be recognized. If you want to replace these characters, you will fail. It's not a good idea。

Sci::Position BuiltinRegex::FindText(Document *doc, Sci::Position minPos, Sci::Position maxPos, const char *s,
bool caseSensitive, bool, bool, int flags,
......
Sci::Position startOfLine = doc->LineStart(line);
Sci::Position endOfLine = doc->LineEnd(line); ------->myabe to change with LineStart(line+1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant