Skip to content

Commit b658209

Browse files
committed
Change listening on port regex to not include Unicode digits and to use culture invariance
1 parent 8eeb461 commit b658209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/Client.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ private static LogLevel MapLevel(TraceEventType eventType)
15871587
[JsonSerializable(typeof(UserInputResponse))]
15881588
internal partial class ClientJsonContext : JsonSerializerContext;
15891589

1590-
[GeneratedRegex(@"listening on port (\d+)", RegexOptions.IgnoreCase, "en-US")]
1590+
[GeneratedRegex(@"listening on port ([0-9]+)", RegexOptions.IgnoreCase)]
15911591
private static partial Regex ListeningOnPortRegex();
15921592
}
15931593

0 commit comments

Comments
 (0)