Skip to content

Use built-in RegExp.escape if available#839

Merged
hansott merged 2 commits into
mainfrom
regexp-escape
Dec 11, 2025
Merged

Use built-in RegExp.escape if available#839
hansott merged 2 commits into
mainfrom
regexp-escape

Conversation

@timokoessler

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Nov 27, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
library/helpers/escapeStringRegexp.ts 93.33% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@timokoessler

Copy link
Copy Markdown
Member Author

Codecov Report

❌ Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.
Files with missing lines Patch % Lines
library/helpers/escapeStringRegexp.ts 87.50% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Not really true, I guess because RegExp is always defined. :D

Comment thread library/helpers/escapeStringRegexp.ts Outdated
@hansott hansott merged commit 9a2f6dd into main Dec 11, 2025
33 of 34 checks passed
@hansott hansott deleted the regexp-escape branch December 11, 2025 09:02
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