-
Notifications
You must be signed in to change notification settings - Fork 327
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
base: main
Are you sure you want to change the base?
Conversation
🐛: Using a list of allowed separators (alternate + normal) to search for instead of only using the main separators
@DavidVilleneuveAnsys please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
🐛: 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 ofLastIndexOf
Related issue
Issue being fixed is here #14993 and is flagged as a bug