File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/FSharp.DependencyManager.Nuget Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -320,10 +320,9 @@ module internal Utilities =
320320 // https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json
321321 // Use enabled feeds only (see NuGet.Commands.ListSourceRunner.Run) and strip off the flags.
322322 let pattern =
323- @" (\s*\d+\.+\s*)(?'name'\S*)(\s*)\[(?'enabled'Enabled|Disabled)\](\s*)$(\s*)( ?'uri'\S *)"
323+ @" (\s*\d+\.+\s*)(?'name'\S*)(\s*)\[(?'enabled'Enabled|Disabled)\](\s*)( ?'uri'[^\0\r\n] *)"
324324
325- let regex =
326- new Regex( pattern, RegexOptions.Multiline ||| RegexOptions.ExplicitCapture)
325+ let regex = new Regex( pattern, RegexOptions.ExplicitCapture)
327326
328327 let sourcelist = String.concat Environment.NewLine stdOut
329328
You can’t perform that action at this time.
0 commit comments