| 39 |
command for linking an application that uses them. Because the POSIX functions |
command for linking an application that uses them. Because the POSIX functions |
| 40 |
call the native ones, it is also necessary to add \fB-lpcre\fP. |
call the native ones, it is also necessary to add \fB-lpcre\fP. |
| 41 |
.P |
.P |
| 42 |
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 |
| 43 |
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 |
| 44 |
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 |
| 45 |
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 |
| 46 |
library. Other POSIX options are not even defined. |
replacement library. Other POSIX options are not even defined. |
| 47 |
.P |
.P |
| 48 |
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 |
| 49 |
in style. The syntax and semantics of the regular expressions themselves are |
in style. The syntax and semantics of the regular expressions themselves are |
| 166 |
The PCRE_NOTBOL option is set when calling the underlying PCRE matching |
The PCRE_NOTBOL option is set when calling the underlying PCRE matching |
| 167 |
function. |
function. |
| 168 |
.sp |
.sp |
| 169 |
|
REG_NOTEMPTY |
| 170 |
|
.sp |
| 171 |
|
The PCRE_NOTEMPTY option is set when calling the underlying PCRE matching |
| 172 |
|
function. Note that REG_NOTEMPTY is not part of the POSIX standard. However, |
| 173 |
|
setting this option can give more POSIX-like behaviour in some situations. |
| 174 |
|
.sp |
| 175 |
REG_NOTEOL |
REG_NOTEOL |
| 176 |
.sp |
.sp |
| 177 |
The PCRE_NOTEOL option is set when calling the underlying PCRE matching |
The PCRE_NOTEOL option is set when calling the underlying PCRE matching |
| 239 |
.rs |
.rs |
| 240 |
.sp |
.sp |
| 241 |
.nf |
.nf |
| 242 |
Last updated: 05 April 2008 |
Last updated: 11 March 2009 |
| 243 |
Copyright (c) 1997-2008 University of Cambridge. |
Copyright (c) 1997-2009 University of Cambridge. |
| 244 |
.fi |
.fi |