Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Apache Find/Replace Flaw in OpenOffice 3.4.0 | ||
---|---|---|---|
Product: | Writer | Reporter: | ldgolds33 |
Component: | editing | Assignee: | hdu <hdu> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | binbjguo, hdu, zongdj001 |
Version: | 3.4.0 | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | 3.4.1 |
Developer Difficulty: | --- |
Description
ldgolds33
2012-08-17 01:17:04 UTC
@Herbert: may be you want to have a look. confirm "hdu" committed SVN revision 1382018 into trunk: #i120598# better emulation of regexp word-start and word-end operatorsThe emu... The new ICU-regexp engine has many benefits such as much improved unicode support and support back references, non-greed matches, look-ahead, look-behind, match count limits, graphemes, atomic matches, non-capturing matches, possessive matches etc. It didn't directly support the GRE-only \< and \> word-break operators though, so they were emulated by plain word-break operators. The fix just commited improves the emulation considerably using the newer engines look-around features by emulating the - word-start operator as \b(?=\w) - word-end operator as (?<=\w)\b Until this gets into the next release the workaround for the issue reporter is to replace the "\< with "\b(?=\w) and the \>" with (?<=\w)\b correction to the comment above. The last part was missing a " so it should read: ... and the \>" with (?<=\w)\b" Verified on Aoo_Trunk_20121109.1800 rev 1407366 pass close it. |