[Libreoffice-bugs] [Bug 143797] escape character \n does not work in search box for search replace in Writer
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 9 21:55:27 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=143797
Mike Kaganski <mikekaganski at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |NOTABUG
--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
> When the "\n" (without quotes) escape character is used in the search and/or
> search/replace dialogs it does not find the next paragraph's end.
And it should not. As described on the "List of Regular Expressions" help page
[1], \n in the "Find" box matches *line break that was inserted with the
Shift+Enter key combination*.
By the way, it (and any other regular expressions) only work when relevant
option is selected in the dialog/toolbar.
To search for paragraph end, use $ as the search term (again, using regular
expressions).
[1] https://help.libreoffice.org/latest/en-US/text/shared/01/02100001.html
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210809/73a2c607/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list