Issue 119375 - Search for hexadecimal code (eg \x41 ) with regular expressions works wrong or not at all.
Summary: Search for hexadecimal code (eg \x41 ) with regular expressions works wrong o...
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 3.4.0
Hardware: PC Windows XP
: P3 Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 121003 (view as issue list)
Depends on:
Reported: 2012-05-18 11:18 UTC by tombil
Modified: 2017-05-20 11:35 UTC (History)
3 users (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 tombil 2012-05-18 11:18:46 UTC
Assume the text of document is "A text text» A text text »text".

When search for:     Result:  
\xBB                 found », OK
\x00BB               not found, WRONG; help says:  format \xXXXX
\x41                 not found, WRONG; should be found "A" 
\x0041               not found, WRONG; should be found "A"

(RegExp is ON; WinXp SP3; OOo 3.4.0 build 9590)
Comment 1 Regina Henschel 2012-05-20 20:47:25 UTC
Search with pattern \xXXXX had been OK with OOo3.4.0 beta (build 9583). I have Windows too, therefore do not change fields "Platform".
Comment 2 Regina Henschel 2012-05-20 21:34:23 UTC
The engine for RegEx has been changed to ICU. The syntax is now slightly different. Use \u0041 and switch on "Match case".

The help has to be adapted.
Comment 3 Regina Henschel 2012-05-20 21:47:18 UTC
Please try to use the syntax from
Please report in a new issue, when something does not work in that syntax.

I'll keep this issue as reminder to update the build help.
Comment 4 tombil 2012-06-11 17:33:08 UTC
The problem is not updating of help.
The main problem is failure backward compatability.
They are macros that use old syntax \xNNNN, as well as the whole branch LibreOffice. If it's feature and not an bug, so it's very unfortunate.
Comment 5 Regina Henschel 2012-09-18 12:58:41 UTC
*** Issue 121003 has been marked as a duplicate of this issue. ***
Comment 6 Marcus 2017-05-20 11:35:19 UTC
Reset assigne to the default "".