947 |
Return a copy of the options with which the pattern was compiled. The fourth |
Return a copy of the options with which the pattern was compiled. The fourth |
948 |
argument should point to an \fBunsigned long int\fP variable. These option bits |
argument should point to an \fBunsigned long int\fP variable. These option bits |
949 |
are those specified in the call to \fBpcre_compile()\fP, modified by any |
are those specified in the call to \fBpcre_compile()\fP, modified by any |
950 |
top-level option settings within the pattern itself. |
top-level option settings at the start of the pattern itself. In other words, |
951 |
|
they are the options that will be in force when matching starts. For example, |
952 |
|
if the pattern /(?im)abc(?-i)d/ is compiled with the PCRE_EXTENDED option, the |
953 |
|
result is PCRE_CASELESS, PCRE_MULTILINE, and PCRE_EXTENDED. |
954 |
.P |
.P |
955 |
A pattern is automatically anchored by PCRE if all of its top-level |
A pattern is automatically anchored by PCRE if all of its top-level |
956 |
alternatives begin with one of the following: |
alternatives begin with one of the following: |