commit 727ce0e1235dec1fec65ab2b95469d5a276d006e
parent 4cd06ff66ca157d8450526963a004ebb5fd3cae0
Author: Igor Burago <igor@igorburago.com>
Date: Fri, 31 Mar 2023 00:55:02 +0800
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).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cmd/plumb/plumber.h b/src/cmd/plumb/plumber.h
@@ -54,7 +54,7 @@ struct Ruleset
enum
{
- NMATCHSUBEXP = 32 /* bounded by ../../libregexp/regcomp.h:/NSUBEXP */
+ NMATCHSUBEXP = 100 /* bounded by ../../libregexp/regcomp.h:/NSUBEXP */
};
struct Exec