Artem Bokhan wrote:
Noel Jones пишет:
Artem Bokhan wrote:
How can I insert newline with header checks?

smth like /(.*)example(.*)/ REPLACE $1\n   $2

You can't.  The REPLACE action does not support multi-line headers.

  -- Noel Jones
It does if input header is multi-line... but catching newline char from input is ugly...

I'm pretty sure REPLACE will fold multi-line input into a single output line. I welcome a correction with evidence.

  -- Noel Jones

Reply via email to