You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/08/17 03:17:04 UTC

[Bug 120598] New: Apache Find/Replace Flaw in OpenOffice 3.4.0

https://issues.apache.org/ooo/show_bug.cgi?id=120598

          Priority: P3
            Bug ID: 120598
          Assignee: ooo-issues@incubator.apache.org
           Summary: Apache Find/Replace Flaw in OpenOffice 3.4.0
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: ldgolds33@yahoo.com
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO 3.4.0
         Component: editing
           Product: word processor

In Apache OpenOffice 3.4.0, if you do a find/replace of standard left quote "\<
with “, the quote is replaced on BOTH sides, contrary to the Regular
Expressions instructions, it should only be placed on the left side. This but
is not present in previous versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120598] Apache Find/Replace Flaw in OpenOffice 3.4.0

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120598

--- Comment #3 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1382018 into trunk:
#i120598# better emulation of regexp word-start and word-end operatorsThe
emu...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120598] Apache Find/Replace Flaw in OpenOffice 3.4.0

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120598

zong dong jun <zo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |zongdj001@gmail.com
     Ever confirmed|0                           |1

--- Comment #2 from zong dong jun <zo...@gmail.com> ---
confirm

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120598] Apache Find/Replace Flaw in OpenOffice 3.4.0

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120598

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ooo-issues@incubator.apache |hdu@apache.org
                   |.org                        |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120598] Apache Find/Replace Flaw in OpenOffice 3.4.0

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120598

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hdu@apache.org

--- Comment #1 from Oliver-Rainer Wittmann <or...@apache.org> ---
@Herbert: may be you want to have a look.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120598] Apache Find/Replace Flaw in OpenOffice 3.4.0

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120598

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from hdu@apache.org ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120598] Apache Find/Replace Flaw in OpenOffice 3.4.0

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120598

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |AOO 3.5.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120598] Apache Find/Replace Flaw in OpenOffice 3.4.0

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120598

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |AOO 3.4.1
    Confirmation on|                            |

--- Comment #5 from hdu@apache.org ---
correction to the comment above. The last part was missing a " so it should
read:
... and the \>" with (?<=\w)\b"

-- 
You are receiving this mail because:
You are the assignee for the bug.