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

Fix #4775: Escape user code before incorporating in a regex #236809

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OfekShilon
Copy link

...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.

@MahamadGaboba
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants