Bug 161029 - Special Find&Replace presets with regular expression
Summary: Special Find&Replace presets with regular expression
Status: RESOLVED DUPLICATE of bug 38261
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 38261
  Show dependency treegraph
 
Reported: 2024-05-10 13:36 UTC by Olivier Hallot
Modified: 2024-05-31 07:43 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot MSO (44.00 KB, image/png)
2024-05-31 07:42 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2024-05-10 13:36:07 UTC
Seen in telegram groups for pt-BR.

Have a set of predefined (regex) find & replace available in the F&R dialog.

For example
- Remove white space at end of line
- Remove end of line (join lines)
- other common situations for people that need to reformat content.
Comment 1 V Stuart Foote 2024-05-10 13:46:00 UTC
+1 

But, little room on the Full F&R dialog so would need to provide a pop-out selector button like checkbox dialog for 'Attributes', but applicable only to the 'regex Replacements'.
Comment 2 Eyal Rozenberg 2024-05-10 14:09:43 UTC
Perhaps extension material?
Comment 3 Olivier Hallot 2024-05-10 14:19:47 UTC
(In reply to Eyal Rozenberg from comment #2)
> Perhaps extension material?

There is an regex F&R extension at 

https://extensions.libreoffice.org/en/extensions/show/70066

However, this extension is far to complicated for "Joe User" ( =average user) and requires knowledge in regex which is the issue we want to hide here.
Comment 4 Timur 2024-05-30 13:59:45 UTC
Seems dupe to me, if not please explain.

*** This bug has been marked as a duplicate of bug 38261 ***
Comment 5 Heiko Tietze 2024-05-31 07:42:09 UTC
Created attachment 194474 [details]
Screenshot MSO

We discussed the topic in the design meeting. Those examples as provided by MSO are nice for recurring tasks and basic users. RegEx is however a power function for expert users, suited for complex tasks. Therefore we suggest to add a couple of examples (eg. find double paragraph breaks) in the documentation but not to the UI.
Comment 6 Heiko Tietze 2024-05-31 07:43:27 UTC
Keeping this a duplicate though.