Skip to content

Conversation

sugar700
Copy link
Contributor

@sugar700 sugar700 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.

@sugar700 sugar700 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.
@sugar700 sugar700 force-pushed the disable-most-default-regex-features branch from 352a250 to 9c9df73 Compare February 12, 2023 09:23
@sugar700 sugar700 changed the title Disable most of default regex features @xfix build(backtrace): Disable most of default regex features Feb 12, 2023
@sugar700 sugar700 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.

3 participants