BUG: fix for bug 0005767 hang for replace string with empty
BUG: fix for bug 0005767 hang for replace string with empty

spthaolt/VTK,spthaolt/VTK,msmolens/VTK,msmolens/VTK,keithroe/vtkoptix,jeffbaumes/jeffbaumes-vtk,sankhesh/VTK,daviddoria/PointGraphsPhase1,naucoin/VTKSlicerWidgets,jeffbaumes/jeffbaumes-vtk,berendkleinhaneveld/VTK,gram526/VTK,arnaudgelas/VTK,keithroe/vtkoptix,SimVascular/VTK,keithroe/vtkoptix,SimVascular/VTK,berendkleinhaneveld/VTK,Wuteyan/VTK,biddisco/VTK,berendkleinhaneveld/VTK,keithroe/vtkoptix,aashish24/VTK-old,sumedhasingla/VTK,gram526/VTK,sankhesh/VTK,gram526/VTK,msmolens/VTK,hendradarwin/VTK,sankhesh/VTK,hendradarwin/VTK,demarle/VTK,aashish24/VTK-old,arnaudgelas/VTK,msmolens/VTK,collects/VTK,collects/VTK,collects/VTK,daviddoria/PointGraphsPhase1,jeffbaumes/jeffbaumes-vtk,mspark93/VTK,berendkleinhaneveld/VTK,aashish24/VTK-old,jeffbaumes/jeffbaumes-vtk,mspark93/VTK,daviddoria/PointGraphsPhase1,spthaolt/VTK,sumedhasingla/VTK,cjh1/VTK,Wuteyan/VTK,naucoin/VTKSlicerWidgets,jmerkow/VTK,biddisco/VTK,hendradarwin/VTK,demarle/VTK,jmerkow/VTK,sumedhasingla/VTK,jmerkow/VTK,sumedhasingla/VTK,naucoin/VTKSlicerWidgets,candy7393/VTK,biddisco/VTK,collects/VTK,cjh1/VTK,gram526/VTK,mspark93/VTK,sankhesh/VTK,sankhesh/VTK,keithroe/vtkoptix,sankhesh/VTK,aashish24/VTK-old,jmerkow/VTK,hendradarwin/VTK,arnaudgelas/VTK,ashray/VTK-EVM,biddisco/VTK,biddisco/VTK,msmolens/VTK,jmerkow/VTK,collects/VTK,spthaolt/VTK,sumedhasingla/VTK,sumedhasingla/VTK,SimVascular/VTK,naucoin/VTKSlicerWidgets,gram526/VTK,ashray/VTK-EVM,johnkit/vtk-dev,jeffbaumes/jeffbaumes-vtk,SimVascular/VTK,Wuteyan/VTK,gram526/VTK,sumedhasingla/VTK,SimVascular/VTK,msmolens/VTK,ashray/VTK-EVM,spthaolt/VTK,biddisco/VTK,mspark93/VTK,hendradarwin/VTK,Wuteyan/VTK,demarle/VTK,candy7393/VTK,candy7393/VTK,Wuteyan/VTK,ashray/VTK-EVM,msmolens/VTK,candy7393/VTK,keithroe/vtkoptix,aashish24/VTK-old,mspark93/VTK,cjh1/VTK,mspark93/VTK,johnkit/vtk-dev,candy7393/VTK,jmerkow/VTK,naucoin/VTKSlicerWidgets,mspark93/VTK,ashray/VTK-EVM,jmerkow/VTK,keithroe/vtkoptix,hendradarwin/VTK,jmerkow/VTK,gram526/VTK,Wuteyan/VTK,spthaolt/VTK,johnkit/vtk-dev,demarle/VTK,sumedhasingla/VTK,berendkleinhaneveld/VTK,naucoin/VTKSlicerWidgets,gram526/VTK,keithroe/vtkoptix,jeffbaumes/jeffbaumes-vtk,cjh1/VTK,arnaudgelas/VTK,johnkit/vtk-dev,ashray/VTK-EVM,biddisco/VTK,cjh1/VTK,berendkleinhaneveld/VTK,daviddoria/PointGraphsPhase1,Wuteyan/VTK,SimVascular/VTK,ashray/VTK-EVM,daviddoria/PointGraphsPhase1,mspark93/VTK,cjh1/VTK,demarle/VTK,sankhesh/VTK,collects/VTK,johnkit/vtk-dev,sankhesh/VTK,aashish24/VTK-old,candy7393/VTK,SimVascular/VTK,demarle/VTK,demarle/VTK,candy7393/VTK,ashray/VTK-EVM,spthaolt/VTK,johnkit/vtk-dev,berendkleinhaneveld/VTK,hendradarwin/VTK,arnaudgelas/VTK,SimVascular/VTK,msmolens/VTK,daviddoria/PointGraphsPhase1,arnaudgelas/VTK,demarle/VTK,candy7393/VTK,johnkit/vtk-dev