Bug 154567 - Editing: make soft hyphen searchable
Summary: Editing: make soft hyphen searchable
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-02 14:25 UTC by Uwe Altmann
Modified: 2023-04-04 16:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Altmann 2023-04-02 14:25:28 UTC
Create a regular expression term for soft hyphen to be able to search and replace (i.e. if set from another application which did a lousy job).
Maybe an easy hack?

The ICU supported Unicode literal syntax, e.g.
 \xAD
 \x{00AD}
 \u00AD
 \U000000AD
 \N{SOFT HYPHEN}\
as described in https://bugs.documentfoundation.org/show_bug.cgi?id=64495#c13 not works (any more?)
Comment 1 V Stuart Foote 2023-04-02 16:17:41 UTC
recent work around bug 152959, related?
Comment 2 V Stuart Foote 2023-04-02 16:35:08 UTC
Can not confirm with
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1b463f697405e64a03378fb38a32172c4d3c25e6
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded


All forms of the ICU lib search for soft hyphen work against attachment 184558 [details] from see also bug 152959. Find & Replace dialog "Match case" unchecked, other options "Regular expressions" and "Diacritic-sensitive" checked.

with
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

the \u00ad form does not, but all others from
https://opengrok.libreoffice.org/xref/core/sw/source/core/crsr/findtxt.cxx?a=true&r=02c352d7#743 funciton.
Comment 3 Uwe Altmann 2023-04-04 16:12:31 UTC
OK - I made an error by using a hyphenated text which was hyphenated by LO - and these are no soft hyphens.