| 399 |
<b>-M</b>, <b>--multiline</b> |
<b>-M</b>, <b>--multiline</b> |
| 400 |
Allow patterns to match more than one line. When this option is given, patterns |
Allow patterns to match more than one line. When this option is given, patterns |
| 401 |
may usefully contain literal newline characters and internal occurrences of ^ |
may usefully contain literal newline characters and internal occurrences of ^ |
| 402 |
and $ characters. The output for any one match may consist of more than one |
and $ characters. The output for a successful match may consist of more than |
| 403 |
line. When this option is set, the PCRE library is called in "multiline" mode. |
one line, the last of which is the one in which the match ended. If the matched |
| 404 |
|
string ends with a newline sequence the output ends at the end of that line. |
| 405 |
|
<br> |
| 406 |
|
<br> |
| 407 |
|
When this option is set, the PCRE library is called in "multiline" mode. |
| 408 |
There is a limit to the number of lines that can be matched, imposed by the way |
There is a limit to the number of lines that can be matched, imposed by the way |
| 409 |
that <b>pcregrep</b> buffers the input file as it scans it. However, |
that <b>pcregrep</b> buffers the input file as it scans it. However, |
| 410 |
<b>pcregrep</b> ensures that at least 8K characters or the rest of the document |
<b>pcregrep</b> ensures that at least 8K characters or the rest of the document |
| 620 |
</P> |
</P> |
| 621 |
<br><a name="SEC13" href="#TOC1">REVISION</a><br> |
<br><a name="SEC13" href="#TOC1">REVISION</a><br> |
| 622 |
<P> |
<P> |
| 623 |
Last updated: 16 November 2010 |
Last updated: 14 January 2011 |
| 624 |
<br> |
<br> |
| 625 |
Copyright © 1997-2010 University of Cambridge. |
Copyright © 1997-2011 University of Cambridge. |
| 626 |
<br> |
<br> |
| 627 |
<p> |
<p> |
| 628 |
Return to the <a href="index.html">PCRE index page</a>. |
Return to the <a href="index.html">PCRE index page</a>. |