| 434 |
Otherwise, if compilation of a pattern fails, <b>pcre_compile()</b> returns |
Otherwise, if compilation of a pattern fails, <b>pcre_compile()</b> returns |
| 435 |
NULL, and sets the variable pointed to by <i>errptr</i> to point to a textual |
NULL, and sets the variable pointed to by <i>errptr</i> to point to a textual |
| 436 |
error message. This is a static string that is part of the library. You must |
error message. This is a static string that is part of the library. You must |
| 437 |
not try to free it. The offset from the start of the pattern to the character |
not try to free it. The byte offset from the start of the pattern to the |
| 438 |
where the error was discovered is placed in the variable pointed to by |
character that was being processes when the error was discovered is placed in |
| 439 |
<i>erroffset</i>, which must not be NULL. If it is, an immediate error is given. |
the variable pointed to by <i>erroffset</i>, which must not be NULL. If it is, |
| 440 |
|
an immediate error is given. Some errors are not detected until checks are |
| 441 |
|
carried out when the whole pattern has been scanned; in this case the offset is |
| 442 |
|
set to the end of the pattern. |
| 443 |
</P> |
</P> |
| 444 |
<P> |
<P> |
| 445 |
If <b>pcre_compile2()</b> is used instead of <b>pcre_compile()</b>, and the |
If <b>pcre_compile2()</b> is used instead of <b>pcre_compile()</b>, and the |
| 2021 |
</P> |
</P> |
| 2022 |
<br><a name="SEC22" href="#TOC1">REVISION</a><br> |
<br><a name="SEC22" href="#TOC1">REVISION</a><br> |
| 2023 |
<P> |
<P> |
| 2024 |
Last updated: 11 September 2009 |
Last updated: 22 September 2009 |
| 2025 |
<br> |
<br> |
| 2026 |
Copyright © 1997-2009 University of Cambridge. |
Copyright © 1997-2009 University of Cambridge. |
| 2027 |
<br> |
<br> |