patch 8.1.0907: CI tests on AppVeyor are failing
Problem: CI tests on AppVeyor are failing.
Solution: Reduce the recursiveness limit for regexp.
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 7c4d407..18bc8d9 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -4315,7 +4315,7 @@
// This function is called recursively. When the depth is too much we run
// out of stack and crash, limit recursiveness here.
- if (++depth >= 10000 || subs == NULL)
+ if (++depth >= 5000 || subs == NULL)
{
--depth;
return NULL;