Try specifying newlines in brackets
This commit is contained in:
parent
473cc54008
commit
bf4a77fcd8
|
@ -5,10 +5,8 @@
|
|||
with lib;
|
||||
let
|
||||
removeBlankLines = str:
|
||||
concatStringsSep "\n\n" (filter isString (builtins.split ''
|
||||
|
||||
|
||||
+'' str));
|
||||
concatStringsSep "\n\n"
|
||||
(filter isString (builtins.split "[\\n][\\n]+" str));
|
||||
|
||||
joinLines = concatStringsSep "\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue