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

[Feature Request] Optional Unicode Category #76

Closed
soasme opened this issue May 11, 2021 · 1 comment
Closed

[Feature Request] Optional Unicode Category #76

soasme opened this issue May 11, 2021 · 1 comment

Comments

@soasme
Copy link
Owner

soasme commented May 11, 2021

Is your feature request related to a problem? Please describe.
In some cases, embedding range pattern tables load a lot of data into memory and it's unnecessary.
It's up to the user to decide whether to enable range patterns.

Describe the solution you'd like
Add a new macro: ENABLE_UNISTR.
If it's enabled, peppapeg will load unicode categories from libunistring, otherwise, [\p{..}] only supports some built-in categories.

Describe alternatives you've considered
N/A

Additional context

@soasme
Copy link
Owner Author

soasme commented Aug 18, 2021

See #99

@soasme soasme closed this as completed Aug 18, 2021
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

No branches or pull requests

1 participant