.NET doesn't have an escape sequence for newlines that's understood by Regex.Replace (like \n or $n). This means that there is no way to include newlines in the replacement strings if -s mode is used. Hence, Retina should preprocess replacement strings and substitute \ and LF for \\ and \n, respectively.
.NET doesn't have an escape sequence for newlines that's understood by
Regex.Replace
(like\n
or$n
). This means that there is no way to include newlines in the replacement strings if-s
mode is used. Hence, Retina should preprocess replacement strings and substitute\
and LF for\\
and\n
, respectively.