Added "keep whitespace" option to search/replace command

This fixes the bug with searching for strings beginning or ending with whitespace.