Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Search for hexadecimal code (eg \x41 ) with regular expressions works wrong or not at all.|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Priority:||P3||CC:||binbjguo, issues, rb.henschel|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
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 http://www.unicode.org/reports/tr18/tr18-13.html. 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. ***