Skip to content

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

Merged
merged 4 commits into from
Jul 14, 2025

Conversation

OfekShilon
Copy link
Contributor

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

@OfekShilon
Copy link
Contributor Author

Ping @Yoyokrazy ?

@Yoyokrazy Yoyokrazy requested a review from alexdima January 6, 2025 18:36
@Yoyokrazy Yoyokrazy assigned alexdima and unassigned Yoyokrazy Jan 6, 2025
@Yoyokrazy
Copy link
Collaborator

Shifting this to @alexdima as the last person that seems to have been involved with monarch related work

@OfekShilon
Copy link
Contributor Author

ping @alexdima ?

@OfekShilon
Copy link
Contributor Author

@Yoyokrazy perhaps another person can take a look?

@OfekShilon
Copy link
Contributor Author

8 months later - any chance of this PR getting some love?

alexdima
alexdima previously approved these changes Jul 14, 2025
Copy link
Member

@alexdima alexdima left a 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!

@vs-code-engineering vs-code-engineering bot added this to the July 2025 milestone Jul 14, 2025
DonJayamanne
DonJayamanne previously approved these changes Jul 14, 2025
@alexdima alexdima enabled auto-merge (squash) July 14, 2025 11:40
@alexdima alexdima dismissed stale reviews from DonJayamanne and themself via 2244ee1 July 14, 2025 13:02
@alexdima alexdima merged commit 0d5814b into microsoft:main Jul 14, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants