Using stock 0.19.
Using a line start anchor in a regex as part of a find/replace does not seem to work.
Expect: 4 spaces stripped from the start of each line, where they exist.
Result: ALL spaces at the start of every line are removed.
It is a strange bug. Only spaces at the start of a line are removed, but only them - spaces after non-space characters are preserved on each line.
It almost appears as if the find and replace is recursive - it keeps processing the file until it does not find any more matches. I.e. the first pass it strips off 4 spaces, causing another 4 spaces to be at the start of the line during a subsequent pass.
Log in to post a comment.