incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118925] New: ICU Regex: look-ahead and look-behind are not work well with replacement
Date Thu, 16 Feb 2012 15:21:44 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118925

             Bug #: 118925
        Issue Type: DEFECT
           Summary: ICU Regex: look-ahead and look-behind are not work
                    well with replacement
    Classification: Application
           Product: Word processor
           Version: OOo 3.4 Beta
          Platform: PC
        OS/Version: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
        AssignedTo: ooo-issues@incubator.apache.org
        ReportedBy: hanya.runo@gmail.com


On revision 1240836 from unofficial dev build.

Text: abcdef

Search for: ab(?=c)
Replace with: -$0-
This look-ahead matches "ab" for search but replacement results "-$0-cdef"

Next look-behind example does not match anymore.
Search for: (?<=b)c
This should be match with "c" but recent build does not match with it. With
Python's re module, it matches "c".

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message