When using powergrep, there is an option called: file sectioning and the first 3 options are:
- do not section files.
- line by line
- line by line including line breaks
I am guessing that first option would be similar to Perl's 'm' modifier ("^" matches the start of the string and after each newline; "$" matches before each newline and at the end of the string), and the option Dot matches new lines, would be as if Perl's 's' modifier was used ("." matches all characters rather than excluding newlines).
I don't understand the two following options. Line by line and still you can turn on the check box dot matches new lines. And line by line including line breaks would be (?s) modifier again, so I don't understand those options.
Please can somebody explain those options? and the relation with s and m modifiers.