swift
utils: be more flexible about path separators
#23764
Merged

utils: be more flexible about path separators #23764

compnerd
compnerd6 years ago

The path separator on Windows is \ and the path separator on Linux,
android, macOS is /. Permit both sets of path separators.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

compnerd utils: be more flexible about path separators
95678d9a
compnerd
compnerd6 years ago
compnerd
compnerd6 years ago

@swift-ci please test

compnerd compnerd merged b3a2e40a into master 6 years ago
compnerd compnerd deleted the regexes-can-solve-everything branch 6 years ago
jrose-apple
jrose-apple6 years ago

I don't think this is safe! What if a pattern uses a / inside a character class?

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone