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

Escape strings in regex search. #23729

Merged
merged 1 commit into from
Mar 16, 2022
Merged

Escape strings in regex search. #23729

merged 1 commit into from
Mar 16, 2022

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Mar 16, 2022

Related issue: #22523

Description

Replacement for #22523.

This PR ensures certain inputs are escaped in the doc and example search. It uses a code suggested in https://stackoverflow.com/a/6969486/5250847.

@mrdoob mrdoob added this to the r139 milestone Mar 16, 2022
@mrdoob mrdoob merged commit 6580a6e into mrdoob:dev Mar 16, 2022
@mrdoob
Copy link
Owner

mrdoob commented Mar 16, 2022

Thanks!

@Mugen87 Mugen87 changed the title Escape strings for use in regex search. Escape strings in regex search. Mar 23, 2022
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
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.

2 participants