Apache OpenOffice (AOO) Bugzilla – Issue 118723
ICU regexp replace: reference of group like $1 in replace text, is always empty
Last modified: 2017-05-20 10:32:10 UTC
Reference a group like $1 in replace text do not work anymore with the regexp engine replaced with ICU's one. Here is an example to reproduce: Text: ab Search for: a(b) Replace with: $1 Results empty string, it should be "b". This works on OOo 3.3.0. The history of the modification in Undo button shows "Replace: 'ab' -> ''" means $1 is empty. When I change the replace text to $0, it worked.
.
Fixed with r1228084