Commit fc3bda3
committed
Fix CRLF handling in cargo redirect plain version matcher
The plain-version regex was rejecting CRLF line endings because
it only allowed spaces/tabs after the version string. Adding \r?
before the $ anchor allows the pattern to match lines with Windows
line endings, fixing cargo redirect on Windows/core.autocrlf repos.1 parent 157f32d commit fc3bda3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | | - | |
| 1034 | + | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
| |||
0 commit comments