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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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
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
1 participant