NLog/NLog — pull request #357 by DannyVarod (2014-06-07 17:04:41+00:00)
Title: Extended ReplaceLayoutRendererWrapper and LayoutParser to support more advanced Regex replacements and more escape codes

Added more escape code support for config file, enabling all C# escape codes (e.g. "\r", "\n", "\u1234" (see link[1] for full list)) in addtion to "\:", "\{" and "}".

Added option Regex replace parameter which enables replacement by group name from Regex pattern + additional tests. This enables more complex Regex-based replace scenarios.

[1]: Full list of C# escape codes: http://blogs.msdn.com/b/csharpfaq/archive/2004/03/12/what-character-escape-sequences-are-available.aspx