diff options
| author | Igor Burago <igor@igorburago.com> | 2023-03-31 00:55:02 +0800 |
|---|---|---|
| committer | Dan Cross <crossd@gmail.com> | 2023-03-31 08:17:47 -0400 |
| commit | 727ce0e1235dec1fec65ab2b95469d5a276d006e (patch) | |
| tree | 7aa91df06a3359f976cc46638053d7df9e12a811 | |
| parent | 4cd06ff66ca157d8450526963a004ebb5fd3cae0 (diff) | |
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).
| -rw-r--r-- | src/cmd/plumb/plumber.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/plumb/plumber.h b/src/cmd/plumb/plumber.h index 6b02cb61..9ffe74d2 100644 --- 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 |