Editor: Fix replace all with regular expression.
Editor: Fix replace all with regular expression.

Change the accepted length of a search result, if the replacing text
is longer then 0 character. If it would accept also for 0 length
character we would have an endlles loop

Task-Number: QTCREATORBUG-8317
Change-Id: I81a6dccb2a1e16faa6ce8e834ea4b63bae84ecfa
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>

Distrotech/qtcreator,Distrotech/qtcreator,darksylinc/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,omniacreator/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,richardmg/qtcreator,danimo/qt-creator,danimo/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,farseerri/git_code,duythanhphan/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,xianian/qt-creator,farseerri/git_code,maui-packages/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,maui-packages/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,danimo/qt-creator,omniacreator/qtcreator,duythanhphan/qt-creator,duythanhphan/qt-creator,farseerri/git_code,darksylinc/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,xianian/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,xianian/qt-creator,Distrotech/qtcreator,maui-packages/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,Distrotech/qtcreator,colede/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,farseerri/git_code,xianian/qt-creator,malikcjm/qtcreator,maui-packages/qt-creator,farseerri/git_code,duythanhphan/qt-creator,xianian/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,colede/qtcreator,kuba1/qtcreator,farseerri/git_code,richardmg/qtcreator,maui-packages/qt-creator,omniacreator/qtcreator,malikcjm/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,malikcjm/qtcreator,omniacreator/qtcreator,richardmg/qtcreator,amyvmiwei/qt-creator,colede/qtcreator,richardmg/qtcreator,farseerri/git_code,malikcjm/qtcreator,colede/qtcreator,malikcjm/qtcreator,xianian/qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,omniacreator/qtcreator,xianian/qt-creator,kuba1/qtcreator,richardmg/qtcreator,martyone/sailfish-qtcreator,farseerri/git_code,amyvmiwei/qt-creator,colede/qtcreator,colede/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,maui-packages/qt-creator,danimo/qt-creator