summary refs log tree commit diff
path: root/pkgs/development/libraries/goffice/pcre_info.patch
blob: cd4ef3c9fed7ce81ff838dbd8b68cf9d2a4f56ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/goffice/utils/regutf8.c b/goffice/utils/regutf8.c
index bc4aae4..3adb696 100644
--- a/goffice/utils/regutf8.c
+++ b/goffice/utils/regutf8.c
@@ -155,7 +155,7 @@ go_regcomp (GORegexp *gor, const char *pat, int cflags)
 		default: return GO_REG_BADPAT;
 		}
 	} else {
-		gor->re_nsub = pcre_info (r, NULL, NULL);
+		gor->re_nsub = pcre_fullinfo (r, NULL, NULL, NULL);
 		gor->nosub = (cflags & GO_REG_NOSUB) != 0;
 		return 0;
 	}