plumber: increase NMATCHSUBEXP up to 100

Thus up to two-digit subexpression match variables are supported
($1 through $99) in addition to the entire expression match ($0).
This commit is contained in:
Igor Burago 2023-03-31 00:55:02 +08:00 committed by Dan Cross
parent 4cd06ff66c
commit 727ce0e123

View file

@ -54,7 +54,7 @@ struct Ruleset
enum enum
{ {
NMATCHSUBEXP = 32 /* bounded by ../../libregexp/regcomp.h:/NSUBEXP */ NMATCHSUBEXP = 100 /* bounded by ../../libregexp/regcomp.h:/NSUBEXP */
}; };
struct Exec struct Exec