Skip to content

Conversation

@cliffano
Copy link
Owner

Fixes https://github.com/cliffano/rtk/security/code-scanning/4

To fix the problem, we need to remove the unnecessary backslashes from the regular expression string literals. This will ensure that the regular expression is correctly interpreted and that the code adheres to best practices. Specifically, we need to update the regular expression on lines 59, 78, 94, and 110 to remove the backslashes before the dot characters.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…scape

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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