[Libreoffice-bugs] [Bug 139584] \p should be added to the possible regular expressions for search and replace
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 13 12:42:50 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=139584
--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
In LibreOffice, there are *no* paragraph marks (some kind of "character" that
separates paragraphs). Paragraphs are separate objects, and there's no
"character" between them.
However, https://help.libreoffice.org/latest/en-US/text/shared/01/02100001.html
does include this:
> $ The end of a paragraph or cell. Special objects such as empty fields or
> character-anchored frames at the end of a paragraph are ignored. Example:
> "Peter$" matches only when the word "Peter" is the last word of a
> paragraph, note "Peter" cannot be followed by a period.
>
> $ on its own matches the end of a paragraph. This way it is possible to
> search and replace paragraph breaks.
So please make your request specific, without unrelated description of other
benefits of other extensions (and without proposing specific names for the
pattern, which might be different), just the use case that is not handled by
*existing functionality* (I know there are such cases; just the request must be
specific and short), like:
"In attachment X, I need to search for this (it may be a complex condition),
and possibly replace with this; currently I only can do this like that using
built-in means; if this proposal is implemented, this is simplified to this
..."
--
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/20210113/8b10e212/attachment.htm>
More information about the Libreoffice-bugs
mailing list