Replace option: leading whitespaces are also removed by default

Fixes #324