We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Line index.js#L3 will not match multiline compilerConfig.
.bootstrapModule(AppModule, { defaultEncapsulation: ViewEncapsulation.None, })
will match
.bootstrapModule(AppModule, { defaultEncapsulation: ViewEncapsulation.None })
Could you update the RegExp to reflect the angular documentation?
The text was updated successfully, but these errors were encountered:
This might work, but needs testing with nested config objects that look similar.
/(\.bootstrapModule|\.bootstrapModuleFactory)\((.+|.+, ?[\[\{][\S\s]*[\]\}])?\)/gm
But a better solution would be to loop though and count opening / closing brackets.
Sorry, something went wrong.
can you make a PR and provide a link to regex101.com with examples
No branches or pull requests
Line index.js#L3 will not match multiline compilerConfig.
will match
Could you update the RegExp to reflect the angular documentation?
The text was updated successfully, but these errors were encountered: