-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Fix #4775: Escape user code before incorporating in a regex #236809
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
Conversation
…$Sn rule processing
Ping @Yoyokrazy ? |
Shifting this to @alexdima as the last person that seems to have been involved with monarch related work |
ping @alexdima ? |
@Yoyokrazy perhaps another person can take a look? |
8 months later - any chance of this PR getting some love? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you and apologies for the slow turn-around time!
...as part of monarch $Sn rule processing.
There is a proposal to support such sanitization as part of the language, but it's not implemented yet. There are also libraries providing this service (eg lodash ), not sure what is the policy on adding dependencies to vscode.
This suggestion is just an added manual escaping, seems good enough.