summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcreposix.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2010-02-03 12:59:00 +0000
committerIlia Alshanetsky <iliaa@php.net>2010-02-03 12:59:00 +0000
commit91eb2dea648f8ed0f14f60cd02b5c1e911c2adf8 (patch)
tree1817d9652f110cf0cd4644ed8586ca56d0c05d9e /ext/pcre/pcrelib/pcreposix.h
parent43d5429381237518ced74149f29a851c30307bea (diff)
downloadphp-git-91eb2dea648f8ed0f14f60cd02b5c1e911c2adf8.tar.gz
Downgrade bundled PCRE to version 7.9 due to 8.0+ version use of C99
Diffstat (limited to 'ext/pcre/pcrelib/pcreposix.h')
-rw-r--r--ext/pcre/pcrelib/pcreposix.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/ext/pcre/pcrelib/pcreposix.h b/ext/pcre/pcrelib/pcreposix.h
index 8ad58f5935..7c5af72437 100644
--- a/ext/pcre/pcrelib/pcreposix.h
+++ b/ext/pcre/pcrelib/pcreposix.h
@@ -50,18 +50,17 @@ POSSIBILITY OF SUCH DAMAGE.
extern "C" {
#endif
-/* Options, mostly defined by POSIX, but with some extras. */
-
-#define REG_ICASE 0x0001 /* Maps to PCRE_CASELESS */
-#define REG_NEWLINE 0x0002 /* Maps to PCRE_MULTILINE */
-#define REG_NOTBOL 0x0004 /* Maps to PCRE_NOTBOL */
-#define REG_NOTEOL 0x0008 /* Maps to PCRE_NOTEOL */
-#define REG_DOTALL 0x0010 /* NOT defined by POSIX; maps to PCRE_DOTALL */
-#define REG_NOSUB 0x0020 /* Maps to PCRE_NO_AUTO_CAPTURE */
-#define REG_UTF8 0x0040 /* NOT defined by POSIX; maps to PCRE_UTF8 */
+/* Options, mostly defined by POSIX, but with a couple of extras. */
+
+#define REG_ICASE 0x0001
+#define REG_NEWLINE 0x0002
+#define REG_NOTBOL 0x0004
+#define REG_NOTEOL 0x0008
+#define REG_DOTALL 0x0010 /* NOT defined by POSIX. */
+#define REG_NOSUB 0x0020
+#define REG_UTF8 0x0040 /* NOT defined by POSIX. */
#define REG_STARTEND 0x0080 /* BSD feature: pass subject string by so,eo */
-#define REG_NOTEMPTY 0x0100 /* NOT defined by POSIX; maps to PCRE_NOTEMPTY */
-#define REG_UNGREEDY 0x0200 /* NOT defined by POSIX; maps to PCRE_UNGREEDY */
+#define REG_NOTEMPTY 0x0100 /* NOT defined by POSIX. */
/* This is not used by PCRE, but by defining it we make it easier
to slot PCRE into existing programs that make POSIX calls. */