Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase maximum capturing group name length from 32 to 128 #117

Open
Aloso opened this issue Nov 30, 2024 · 0 comments
Open

Increase maximum capturing group name length from 32 to 128 #117

Aloso opened this issue Nov 30, 2024 · 0 comments
Labels
C-language Issues regarding Pomsky's syntax enhancement New feature or request

Comments

@Aloso
Copy link
Member

Aloso commented Nov 30, 2024

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 Aloso added enhancement New feature or request C-language Issues regarding Pomsky's syntax labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-language Issues regarding Pomsky's syntax enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant