summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c
index 5fe307f0983..2d491c627ec 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -1010,7 +1010,7 @@ static const char *re_error_msgid[] =
#if defined (MATCH_MAY_ALLOCATE)
/* 4400 was enough to cause a crash on Alpha OSF/1,
whose default stack limit is 2mb. */
-int re_max_failures = 4000;
+int re_max_failures = 20000;
#else
int re_max_failures = 2000;
#endif