Apache OpenOffice (AOO) Bugzilla – Issue 113275
error in ReplaceAll with backreferences.
Last modified: 2017-05-20 09:52:57 UTC
in calc I have a cell with the following message toyota|toyota|NC quiere|querer|VM sacar|sacar|VM avensis|avensis|NC and if I do a replace All with regular expressions where the fields are search for:"([^ |]+)\|([^ |]+\|[^ |]+)" replace with: $1 the text i get is "toyota toyota toyota toyota" instead of "toyota quiere sacar avensis" what i get if I execute replace many times (instead of replace all) so it seems that the backreference maintains each value per cell not per martch
As given in description.
I believe this the same problem reported in bug 107619 I see the same problem still exists in AOO 4.0.1 and 4.1 (dev build)
(In reply to Joe Smith from comment #2) > I believe this the same problem reported in bug 107619 > > I see the same problem still exists in AOO 4.0.1 and 4.1 (dev build) yes, thank you. This bug describes same behavior as bug 107619, comment 0 first example after first replace the match isn't updated for the next replacement so the first match is always used as replacement *** This issue has been marked as a duplicate of issue 107619 ***