Issue 125196 - SOFT HYPHEN (optional hyphen) cannot be found by regular expression and Unicode code point
Summary: SOFT HYPHEN (optional hyphen) cannot be found by regular expression and Unico...
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 4.1.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2014-07-03 17:31 UTC by Regina Henschel
Modified: 2014-07-18 20:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2014-07-03 17:31:39 UTC
Enable "Field shading" in menu View, so that the SOFT HYPHEN will become visible.

Open special character dialog and insert the whole row ¡¢£¤¥¦§¨©ª«¬ ­®¯°. It contains the character SOFT HYPHEN between ¬ and ®  (not here but in your document).

Open Find&Replace dialog, click on "More Options" and enable "Regular Expression".

Search for either of these

It should find the SOFT HYPHEN but does not.

Try the same with

It will find the character ® without problems. Thus the regex engine itself works, but not for SOFT HYPHEN.
Comment 1 Joe Smith 2014-07-18 20:13:35 UTC
Tested OpenOffice 4.1.1  411m2(Build:9771) on Fedora Linux

I see the same problem.

None of these match it either:
. (any character)
\W (any non-word character)
\p{Cf} (Unicode property/category Other, Control)

It does work to set Options / Regular expressions: OFF and enter the character directly (by code AD) in the "Search for" box.