Skip to content

Change regex WhichCaptures to None - #184

Merged
marmeladema merged 2 commits into
cloudflare:masterfrom
utkarshgupta137:ugupta/regex-config
Jul 21, 2026
Merged

Change regex WhichCaptures to None#184
marmeladema merged 2 commits into
cloudflare:masterfrom
utkarshgupta137:ugupta/regex-config

Conversation

@utkarshgupta137

Copy link
Copy Markdown
Collaborator

This saves a lot of memory & generally makes stuff faster. Also hide regex to prevent direct usage of the regex type as WhichCaptures::None doesn't work with find() correctly, to prevent accidental usage

@utkarshgupta137 utkarshgupta137 self-assigned this Jul 21, 2026
This saves a lot of memory & generally makes stuff faster.
Also hide regex to prevent direct usage of the regex type as
WhichCaptures::None doesn't work with find() correctly, to prevent
accidental usage
@marmeladema
marmeladema merged commit 953f38a into cloudflare:master Jul 21, 2026
8 checks passed
@utkarshgupta137
utkarshgupta137 deleted the ugupta/regex-config branch July 21, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants