Bug 117476 - Writer: bad RegExp Finding for arabic text
Summary: Writer: bad RegExp Finding for arabic text
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha1+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-07 12:59 UTC by Kamil Landa
Modified: 2018-06-08 12:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example for bad searching with regular expressions in arabic text (93.21 KB, application/vnd.oasis.opendocument.text)
2018-05-07 12:59 UTC, Kamil Landa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Landa 2018-05-07 12:59:54 UTC
Created attachment 141954 [details]
example for bad searching with regular expressions in arabic text

1) Write arabic text: consonant1 sukoon consonant2; consonant1 fatha consonant2; consonant1 shadda fatha consonant2; consonant1 consonant2.
دْر ; دَر ; دَّر ; در

2) In Find&replace dialog choose Regular expressions and Find: consonant1 sukoon consonant2
دْر
-> it finds, but also find: consonant1 fatha consonant2; consonant1 shadda fatha consonant2; consonant1 consonant2.

3) try to RegExp Find: consonant1 dot consonant2
د.ر
-> it must to find: consonant1 sukoon consonant2; consonant1 fatha consonant2; but it finds nothing.


Example with arabic text is in the attachment.

It seems the checkbox for Regular expressions doesn't activate the RegExp searching for arabic text.

Bug is in all versions 6.x (latest now 6.1.0.0.aplha1). In 5.x it was OK.

Win7 64bit.
Verze: 6.0.4.1 (x64)
ID sestavení: a63363f6506b8bdc5222481ce79ef33b2d13c741
Vlákna CPU: 2; OS: Windows 6.1; Vykreslování UI: výchozí;
Národní prostředí: cs-CZ (cs_CZ); Calc: CL
Comment 1 Buovjaga 2018-06-08 12:27:13 UTC
I repro with stable, but not with master, hooray!

Arch Linux 64-bit
Version: 6.0.4.2
Build ID: 6.0.4-1
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: groupArch Linux 64-bit

Version: 6.2.0.0.alpha0+
Build ID: 67aaa98600269e6b8fa631146c3649a261369471
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 7th 2018