Increase RE_MAX_AST_LEVELS
There are some rules out there with massively long regular expressions or hex strings that are reaching the 3000 limit. A 6000 limit is still safe enough for preventing stack overflows but don't brake those rules.
@@ -83,6 +83,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define RE_MAX_FIBERS 1024
// Maximum number of levels in regexp's AST
-#define RE_MAX_AST_LEVELS 3000
+#define RE_MAX_AST_LEVELS 6000
#endif
