[REVIEW: 3-5] fdo#44861 make Replace All behave correctly with REs

2012-04-18 Thread David Tardon
Hi all, the problem is that we did not refresh search data for subsequent searches, so the back references were always filled using the search data of the first match. So, for RE ([0-9]{2})([0-9]{2}), replacement $1.$2 and string 1200-1300, that would lead to the following sequence of changes:

Re: [REVIEW: 3-5] fdo#44861 make Replace All behave correctly with REs

2012-04-18 Thread Petr Mladek
David Tardon píše v St 18. 04. 2012 v 10:02 +0200: Hi all, the problem is that we did not refresh search data for subsequent searches, so the back references were always filled using the search data of the first match. So, for RE ([0-9]{2})([0-9]{2}), replacement $1.$2 and string 1200-1300,