[Libreoffice-bugs] [Bug 112575] No regular expression for paragraph mark
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 23 15:27:55 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=112575
V Stuart Foote <vstuart.foote at utsa.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #8 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Daniel Grigoras from comment #7)
> $TextToReplace has no meaning?
> What do you meant?
>
Functionally, the LibreOffice regular expression for paragraph mark is "$"
> If ^13TextToReplace has a useful and usable meaning in MS Word, why
> shouldn't $TextToReplace have a useful and usable meaning in LibreOffice
> Writer?
>
> Stuart, maybe you have difficulties understanding abstract things. I'll give
> you a concrete example of what I want to search for an replace: I want to
> search for and replace "Reset Value: " and leave no empty line behind in so
> doing. In Word I can do this by simply searching for "^13Reset Value: " (Use
> wildcards ticked) and replacing it with nothing. How would I be able to do
> this in LibreOffice Writer if "$Reset Value: " has no meaning?
Wrong syntax. Reverse the position of the "$" paragraph end.
Attaching a sample document, use these find strings with Regular expressions
enabled:
"Reset Value: $"
".*Reset Value: $"
"Reset Value: \n"
".*Reset Value: \n"
Convince yourself then close this as INVALID as that is what it is ;-)
--
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/20170923/153c895a/attachment.html>
More information about the Libreoffice-bugs
mailing list