private static string Indent(string s, string indentation) { DebugCheck.NotEmpty(s); DebugCheck.NotNull(s); return new Regex(@"\r?\n *").Replace(s, Environment.NewLine + indentation); }