StarlingMonkey icon indicating copy to clipboard operation
StarlingMonkey copied to clipboard

Regular expression precompilation & unicode property escapes

Open guybedford opened this issue 1 year ago • 0 comments

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.

guybedford avatar Jan 02 '25 17:01 guybedford