Closed manison closed 10 months ago
Indeed, it is also broken for: "cs-CZ", "ko-KR", "pl-PL" and "zh-Hans"
I made a fix, if it's not hard, would be nice if you could clone the repo, pull latest main branch, msbuild /r /m /bl MSBuildStructuredLog.sln
and see if the locally built version works fine for your binlog.
If it looks good, I can publish an update.
It works great, thanks!
Binary logs created on systems with Czech locale cannot be open in StructuredLogViewer. When opening the log there is an exception
in
https://github.com/KirillOsenkov/MSBuildStructuredLog/blob/e55698cfee98afab9b2221aa9b24c97f86d92ce7/src/StructuredLogger/Strings/Strings.cs#L144-L150
This is because the Czech string
apparently does not make a valid regular expression.
There are quotes around the "quantifier" in other languages, in English: