Artem Bokhan wrote:
Noel Jones пишет:It does if input header is multi-line... but catching newline char from input is ugly...Artem Bokhan wrote:How can I insert newline with header checks?smth like /(.*)example(.*)/ REPLACE $1\n $2You can't. The REPLACE action does not support multi-line headers. -- Noel Jones
I'm pretty sure REPLACE will fold multi-line input into a single output line. I welcome a correction with evidence.
-- Noel Jones