| 59 |
call the native ones, it is also necessary to add <b>-lpcre</b>. |
call the native ones, it is also necessary to add <b>-lpcre</b>. |
| 60 |
</P> |
</P> |
| 61 |
<P> |
<P> |
| 62 |
I have implemented only those option bits that can be reasonably mapped to PCRE |
I have implemented only those POSIX option bits that can be reasonably mapped |
| 63 |
native options. In addition, the option REG_EXTENDED is defined with the value |
to PCRE native options. In addition, the option REG_EXTENDED is defined with |
| 64 |
zero. This has no effect, but since programs that are written to the POSIX |
the value zero. This has no effect, but since programs that are written to the |
| 65 |
interface often use it, this makes it easier to slot in PCRE as a replacement |
POSIX interface often use it, this makes it easier to slot in PCRE as a |
| 66 |
library. Other POSIX options are not even defined. |
replacement library. Other POSIX options are not even defined. |
| 67 |
</P> |
</P> |
| 68 |
<P> |
<P> |
| 69 |
When PCRE is called via these functions, it is only the API that is POSIX-like |
When PCRE is called via these functions, it is only the API that is POSIX-like |
| 189 |
The PCRE_NOTBOL option is set when calling the underlying PCRE matching |
The PCRE_NOTBOL option is set when calling the underlying PCRE matching |
| 190 |
function. |
function. |
| 191 |
<pre> |
<pre> |
| 192 |
|
REG_NOTEMPTY |
| 193 |
|
</pre> |
| 194 |
|
The PCRE_NOTEMPTY option is set when calling the underlying PCRE matching |
| 195 |
|
function. Note that REG_NOTEMPTY is not part of the POSIX standard. However, |
| 196 |
|
setting this option can give more POSIX-like behaviour in some situations. |
| 197 |
|
<pre> |
| 198 |
REG_NOTEOL |
REG_NOTEOL |
| 199 |
</pre> |
</pre> |
| 200 |
The PCRE_NOTEOL option is set when calling the underlying PCRE matching |
The PCRE_NOTEOL option is set when calling the underlying PCRE matching |
| 257 |
</P> |
</P> |
| 258 |
<br><a name="SEC9" href="#TOC1">REVISION</a><br> |
<br><a name="SEC9" href="#TOC1">REVISION</a><br> |
| 259 |
<P> |
<P> |
| 260 |
Last updated: 05 April 2008 |
Last updated: 11 March 2009 |
| 261 |
<br> |
<br> |
| 262 |
Copyright © 1997-2008 University of Cambridge. |
Copyright © 1997-2009 University of Cambridge. |
| 263 |
<br> |
<br> |
| 264 |
<p> |
<p> |
| 265 |
Return to the <a href="index.html">PCRE index page</a>. |
Return to the <a href="index.html">PCRE index page</a>. |