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 code scanning alert no. 13: Useless regular-expression character escape #56

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

ronknight
Copy link
Owner

Fixes https://github.com/ronknight/InventorySystem/security/code-scanning/13

To fix the problem, we need to remove the unnecessary escape sequence \. from the regular expression on line 4208. The dot character should be used directly without the backslash. This change will not affect the functionality of the code but will improve its readability.

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

…escape

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@ronknight ronknight marked this pull request as ready for review November 21, 2024 20:37
@ronknight ronknight merged commit 160b5aa into master Nov 25, 2024
2 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.

1 participant