Your file has CRLF line endings, but you only match LF (`\n`) so you leave several CRs in the file, do `View->Show Line Endings` to see whats happening.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/2096#issuecomment-468910616
