diff -burN pcre-5.0/pcreposix.c newpcre-5.0/pcreposix.c
--- pcre-5.0/pcreposix.c	2004-09-13 15:20:00.000000000 +0100
+++ newpcre-5.0/pcreposix.c	2005-04-11 16:59:24.000000000 +0100
@@ -223,6 +223,7 @@
 
 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS;
 if ((cflags & REG_NEWLINE) != 0) options |= PCRE_MULTILINE;
+if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL;
 
 preg->re_pcre = pcre_compile(pattern, options, &errorptr, &erroffset, NULL);
 preg->re_erroffset = erroffset;
diff -burN pcre-5.0/pcreposix.h newpcre-5.0/pcreposix.h
--- pcre-5.0/pcreposix.h	2004-09-13 15:20:00.000000000 +0100
+++ newpcre-5.0/pcreposix.h	2005-04-11 17:00:38.000000000 +0100
@@ -56,6 +56,7 @@
 #define REG_NEWLINE   0x02
 #define REG_NOTBOL    0x04
 #define REG_NOTEOL    0x08
+#define REG_DOTALL    0x64
 
 /* These are not used by PCRE, but by defining them we make it easier
 to slot PCRE into existing programs that make POSIX calls. */
