Skip to content

Commit 1942ea8

Browse files
committed
C#: Paths can contain whitespace (this is indeed common on windows).
1 parent 280a27d commit 1942ea8

File tree

1 file changed

+1
-1
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp.Standalone

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction.CSharp.Standalone/Runtime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public int CompareTo(RuntimeVersion? other)
7474
public override string ToString() => FullPath;
7575
}
7676

77-
[GeneratedRegex(@"^(\S+)\s(\d+\.\d+\.\d+)(-([a-z]+)\.(\d+\.\d+\.\d+))?\s\[(\S+)\]$")]
77+
[GeneratedRegex(@"^(\S+)\s(\d+\.\d+\.\d+)(-([a-z]+)\.(\d+\.\d+\.\d+))?\s\[(.+)\]$")]
7878
private static partial Regex RuntimeRegex();
7979

8080
/// <summary>

0 commit comments

Comments
 (0)