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

build(backtrace): Disable most of default regex features #552

Merged

Conversation

KamilaBorowska
Copy link
Contributor

@KamilaBorowska KamilaBorowska commented Feb 12, 2023

regex as used by Sentry doesn't need full Unicode tables, just ones used by \w, \s, \d and \b (unicode-perl feature). This reduces size of the binary.

@KamilaBorowska KamilaBorowska force-pushed the disable-most-default-regex-features branch from 42b1c48 to 352a250 Compare February 12, 2023 09:18
The regex crate used by Sentry doesn't need full Unicode tables,
just the ones used by \w, \s, \d and \b.
@KamilaBorowska KamilaBorowska force-pushed the disable-most-default-regex-features branch from 352a250 to 9c9df73 Compare February 12, 2023 09:23
@KamilaBorowska KamilaBorowska changed the title Disable most of default regex features @xfix build(backtrace): Disable most of default regex features Feb 12, 2023
@KamilaBorowska KamilaBorowska changed the title @xfix build(backtrace): Disable most of default regex features build(backtrace): Disable most of default regex features Feb 12, 2023
@Swatinem Swatinem merged commit 3437977 into getsentry:master Feb 13, 2023
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.

None yet

3 participants