--- /dev/null
+--- tf-50b8/src/pattern.h.wiget 2012-03-28 14:25:55.720865901 +0200
++++ tf-50b8/src/pattern.h 2012-03-28 14:26:14.157532261 +0200
+@@ -10,7 +10,7 @@
+ #ifndef PATTERN_H
+ #define PATTERN_H
+
+-#include "pcre-2.08/pcre.h"
++#include <pcre.h>
+
+ typedef struct RegInfo {
+ pcre *re;
+--- tf-50b8/src/pattern.c.wiget 2012-03-28 15:55:13.910312594 +0200
++++ tf-50b8/src/pattern.c 2012-03-28 15:56:16.456978228 +0200
+@@ -151,7 +151,7 @@ static RegInfo *tf_reg_compile_fl(const
+ emsg ? emsg : "unknown error");
+ goto tf_reg_compile_error;
+ }
+- n = pcre_info(ri->re, NULL, NULL);
++ pcre_fullinfo(ri->re, NULL, PCRE_INFO_CAPTURECOUNT, &n);
+ if (n < 0) goto tf_reg_compile_error;
+ ri->ovecsize = 3 * (n + 1);
+ ri->ovector = dmalloc(NULL, sizeof(int) * ri->ovecsize, file, line);
+--- tf-50b8/src/macro.c.wiget 2012-03-28 13:44:42.280320322 +0200
++++ tf-50b8/src/macro.c 2012-03-28 15:56:32.813644628 +0200
+@@ -893,7 +893,8 @@ static int complete_macro(Macro *spec, u
+ }
+ spec->attr &= ~F_NONE;
+ if (spec->nsubattr) {
+- int n = pcre_info(spec->trig.ri->re, NULL, NULL);
++ int n;
++ pcre_fullinfo(spec->trig.ri->re, NULL, PCRE_INFO_CAPTURECOUNT, &n);
+ for (i = 0; i < spec->nsubattr; i++) {
+ spec->subattr[i].attr &= ~F_NONE;
+ if (spec->subattr[i].subexp > n) {