extend the length to which the regex matcher checks strings to 256 chars.

This commit is contained in:
Axel Kohlmeyer
2022-09-07 20:47:01 -04:00
parent 94a72352f2
commit c3af05c4fb

View File

@ -1516,8 +1516,8 @@ static int re_matchp(const char *text, re_t pattern, int *matchlen);
/* Definitions: */
#define MAX_REGEXP_OBJECTS 30 /* Max number of regex symbols in expression. */
#define MAX_CHAR_CLASS_LEN 40 /* Max length of character-class buffer in. */
#define MAX_REGEXP_OBJECTS 256 /* Max number of regex symbols in expression. */
#define MAX_CHAR_CLASS_LEN 256 /* Max length of character-class buffer in. */
enum {
RX_UNUSED,