diff options
| author | Igor Burago <igor@igorburago.com> | 2022-10-14 20:28:06 +0800 |
|---|---|---|
| committer | Dan Cross <crossd@gmail.com> | 2023-03-31 11:50:53 -0400 |
| commit | cc4571fec67407652b03d6603ada6580de2194dc (patch) | |
| tree | b2a031ed91ec4232cde2cf9f475a085ba040c72b | |
| parent | 727ce0e1235dec1fec65ab2b95469d5a276d006e (diff) | |
libregexp: allow up to 127 captured subexpressions in one regexp
128 counting with the entire expression match ($0).
| -rw-r--r-- | src/libregexp/regcomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregexp/regcomp.h b/src/libregexp/regcomp.h index 4b9a483b..0e03caa6 100644 --- a/src/libregexp/regcomp.h +++ b/src/libregexp/regcomp.h @@ -5,7 +5,7 @@ typedef unsigned char uchar; #define nelem(x) (sizeof(x)/sizeof((x)[0])) -#define NSUBEXP 32 +#define NSUBEXP 128 typedef struct Resublist Resublist; struct Resublist { |