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

Regular expression precompilation & unicode property escapes #192

Open
guybedford opened this issue Jan 2, 2025 · 0 comments
Open

Regular expression precompilation & unicode property escapes #192

guybedford opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@guybedford
Copy link
Contributor

Without a build supporting internationalization we don't get support for regular expressions.

For Fastly we fix this with a precompile step to replace in the source text all regular expressions with precompiled replaced variants - https://github.com/fastly/js-compute-runtime/blob/main/src/precompile.js.

We should do something similar in StarlingMonkey itself to support both regular expression performance and unicode property escape precompilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant