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

ISSUE-480: remove backslashes from the pattern's base directory #481

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

mrmlnc
Copy link
Owner

@mrmlnc mrmlnc commented Jan 7, 2025

What is the purpose of this pull request?

This is a fix for #480. The escape characters should not be part of the base static part of the pattern.

Examples of problematic patterns before this changes:

fifth\\'s/*

What changes did you make? (Give an overview)

The base static part of the pattern is a path in the file system. The path must not contain escape characters.

We don't have to worry about Windows support, as starting from version 3 of the package, backslashes are always considered escape characters.

@mrmlnc mrmlnc changed the title fix: remove backslashes from the pattern's base directory ISSUE-480: remove backslashes from the pattern's base directory Jan 7, 2025
@mrmlnc mrmlnc linked an issue Jan 7, 2025 that may be closed by this pull request
@mrmlnc mrmlnc marked this pull request as ready for review January 16, 2025 06:40
@mrmlnc mrmlnc added this to the 3.3.4 milestone Jan 17, 2025
@mrmlnc mrmlnc merged commit 096a5b6 into master Jan 17, 2025
20 checks passed
Copy link

@Andree2805 Andree2805 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Udujduurfjf

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.

Inconsistent behavior with escaped single quotes & brace expansion
2 participants