Native
grep works on single lines and cannot do multi-line matches. There is a somewhat experimental "-P" option to use Perl regular expressions, which would support that. Here is a
link to a discussion with an example of multi-line matches using "grep -P".