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: [email protected]
ReportedBy: [email protected]
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.