> But do you think you want to remember such a mess? I want to remember what is the standard usage most other places, not what one outlier tool uses for the same syntax.
The regex syntax using `\n` as newline and `\r` as carriage return is a widely used regex standard in programming languages such as Perl, Javascript, c# etc and libraries such as PCRE, C++ ISO standard, .net and tools such as Vscode, Eclipse, grep, etc. The "mess" is some tool that uses a non-standard backslash that clashes with most other languages, libraries or tool usage. Basically Geany is not going to use a non-standard regex syntax, it uses what the Glib library provides and matches the standard. If you have files that use CRLF line end use `\r\n` as the search that you will replace with nothing. If you can't remember that, or your file is the "mess" with mixed line ends, use `Document->Set Line Endings->Convert and set to LF` to make them all consistent then use `\n` as the search. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3964#issuecomment-2385254049 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/3964/[email protected]>
