9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.6k stars 318 forks source link

plumber: increase NMATCHSUBEXP up to 100 #610

Closed igorburago closed 1 year ago

igorburago commented 1 year ago

Thus up to two-digit subexpression match variables are supported ($1 through $99) in addition to the entire expression match ($0).

The most straightforward way to fix #565 in regards to point 2.

Depends on #609 being merged first!

igorburago commented 1 year ago

@dancrossnyc, this change depends on #609 being merged, but for some reason it was left out! Perhaps, at a glance, #611 somehow looked like an alternative version of #609? (The former is about the character class limit, while the latter is about the captured subexpressions limit, which is the thing this change relies on.) Could you please fix this?