Skip to content

Normalize pattern matching#20

Merged
olstakh merged 1 commit intomainfrom
users/olstakh/fix-again
Apr 15, 2026
Merged

Normalize pattern matching#20
olstakh merged 1 commit intomainfrom
users/olstakh/fix-again

Conversation

@olstakh
Copy link
Copy Markdown
Owner

@olstakh olstakh commented Apr 15, 2026

This pull request updates the IsMatchByName method to improve its handling of path separators and clarify parameter naming. The changes ensure that both the pattern and the value being matched use consistent path separators, which helps prevent mismatches on different operating systems.

Improvements to pattern matching:

  • Updated the IsMatchByName method to normalize path separators by replacing backslashes with forward slashes in both the pattern and value parameters, improving cross-platform matching.
  • Renamed the project parameter to value in IsMatchByName for better clarity and generality.

@olstakh olstakh merged commit 2f04dcb into main Apr 15, 2026
2 checks passed
@olstakh olstakh deleted the users/olstakh/fix-again branch April 16, 2026 03:56
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