Is it possible to replace a string with a new line using rewrite?
21 Sep
2011
21 Sep
'11
7:31 p.m.
Hello, I am trying to replace a string with a newline using rewrite. Is it possible? Thanks.
21 Sep
21 Sep
8:20 p.m.
Luis Pugoy <lpugoy@insynchq.com> writes:
I am trying to replace a string with a newline using rewrite. Is it possible? Thanks.
rewrite r_nl { subst("<insert regexp here>", "\n", value("MSG")); }; Or, if you want to replace the whole MSG with a newline: rewrite r_nlmsg { set("\n", value("MSG")); }; -- |8]
5105
Age (days ago)
5105
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gergely Nagy
-
Luis Pugoy