All pattern string escapes are replaced at once (during pattern generation) with the initial replacement during specification generation removed. As a result, non-whitespace characters can be escaped using only a single backslash. So the following pattern \\{\n{}\\} can be rewritten as \{\n{}\}.
All pattern string escapes are replaced at once (during pattern generation) with the initial replacement during specification generation removed. As a result, non-whitespace characters can be escaped using only a single backslash. So the following pattern
\\{\n{}\\}
can be rewritten as\{\n{}\}
.