pomsky icon indicating copy to clipboard operation
pomsky copied to clipboard

Increase maximum capturing group name length from 32 to 128

Open Aloso opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

No problem per se, but: The 32 byte limit for capturing group names was only set to 32 because PCRE2 enforced it. Now that PCRE2 increased this limit to 128, we can do the same.

Describe the solution you'd like

Instead of 32 characters, a capturing group can be up to 128 ASCII characters in length.

Additional context

https://github.com/PCRE2Project/pcre2/blob/master/ChangeLog

Aloso avatar Nov 30 '24 16:11 Aloso