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 issue #14993 about forward slashes not working on windows when globbing sources #15002

Conversation

DavidVilleneuveAnsys
Copy link

🐛: Using a list of allowed separators (alternate + normal) to search for instead of only using the main separators

Description

To retrieve the source where we start the globbing pattern, the pattern is first split, then we search for the first Directory separator.

In this search, we only allow for the the principal separator, however, some platforms have alternate separators.

So we use LastIndexOfAny instead of LastIndexOf

Related issue

Issue being fixed is here #14993 and is flagged as a bug

  • I have ensured that there is a previously discussed and approved issue.

🐛: Using a list of allowed separators (alternate + normal) to search for instead of only using the main separators
@nohwnd
Copy link
Member

nohwnd commented Feb 6, 2025

Please accept the CLA if you agree with it. Otherwise I cannot proceed.

@nohwnd nohwnd marked this pull request as draft February 12, 2025 09:52
@nohwnd
Copy link
Member

nohwnd commented Feb 12, 2025

making it a draft, waiting for @DavidVilleneuveAnsys to confirm CLA

@nohwnd
Copy link
Member

nohwnd commented Feb 17, 2025

Closing without deleting the branch, can't take your code without approving CLA. Please comment below if you'd like to continue on this.

@nohwnd nohwnd closed this Feb 17, 2025
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