Bug 148329 - Accept Hebrew Maqaf for '-' in search pattern
Summary: Accept Hebrew Maqaf for '-' in search pattern
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks: RTL-Hebrew
  Show dependency treegraph
 
Reported: 2022-04-02 20:41 UTC by Eyal Rozenberg
Modified: 2022-04-17 03:31 UTC (History)
0 users

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-04-02 20:41:10 UTC
The Hebrew language uses a character named Maqaf - essentially a top hyphen - instead of the Latin languages' inter-word hyphen. It is not a dash (neither en nor em), and is not used as a minus sign. More about this character:

https://codepoints.net/U+05BE

Now, a Maqaf does not appear on the Hebrew keyboard; and in Hebrew files written on PCs rather the professionally typeset, it is more common than not to find hyphens used instead. When you open a document, you can't know for sure whether Maqaf's will be used, or hyphens/minus characters, or some of those and some of those.

For this reason, it would be useful if, when searching a document using patterns involving a minus sign or a Maqaf - each of those characters would match, i.e. a search for בר-כוח would also match בר־כוח (note the top hyphen!) and vice-versa.

This relaxed match should qualified so that the double-match would only be accepted for Maqafs/hyphens which come between two other Hebrew characters; or perhaps at the end or the beginning of a sequence of Hebrew characters (a bit more lax of a restriction).