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
Transform regex with 'su' flag, using dotAllFlag=false
#26
Comments
It is expected. The rewritePattern('.', 's', {
'dotAllFlag': true
});
// → '[\\0-\\uFFFF]' |
@JLHwung I think
should get result like this:
(add
|
Otherwise we should set |
@meowtec Exactly, I proposed in babel/babel#10347 (comment) and we do have a workaround in hand. This issue comes from how babel invokes regexpu-core, so I suggest discussion in babel/babel#10347 with the a babel plugin context. |
The text was updated successfully, but these errors were encountered: