File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed
GitHubActionsTestLogger/Utils Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -24,33 +24,33 @@ internal partial class StackFrame
2424 private static readonly Regex Pattern =
2525 new (
2626 $$ """
27- ^
28- {{ Space }} *
29- \w+ {{ Space }} +
30- (?<frame>
31- (?<type> {{ NotSpace }} + ) \.
32- (?<method> {{ NotSpace }} +? ) {{ Space }} *
33- (?<params> \( ( {{ Space }} * \)
34- | (?<pt> .+?) {{ Space }} + (?<pn> .+?)
35- (, {{ Space }} * (?<pt> .+?) {{ Space }} + (?<pn> .+?) )* \) ) )
36- ( {{ Space }} +
37- ( # Microsoft .NET stack traces
38- \w+ {{ Space }} +
39- (?<file> ( [a-z] \: # Windows rooted path starting with a drive letter
40- | / ) # Unix rooted path starting with a forward-slash
41- .+? )
42- \: \w+ {{ Space }} +
43- (?<line> [0-9]+ ) \p{P}?
44- | # Mono stack traces
45- \[0x[0-9a-f]+\] {{ Space }} + \w+ {{ Space }} +
46- <(?<file> [^>]+ )>
47- :(?<line> [0-9]+ )
48- )
49- )?
50- )
51- \s*
52- $
53- """ ,
27+ ^
28+ {{ Space }} *
29+ \w+ {{ Space }} +
30+ (?<frame>
31+ (?<type> {{ NotSpace }} + ) \.
32+ (?<method> {{ NotSpace }} +? ) {{ Space }} *
33+ (?<params> \( ( {{ Space }} * \)
34+ | (?<pt> .+?) {{ Space }} + (?<pn> .+?)
35+ (, {{ Space }} * (?<pt> .+?) {{ Space }} + (?<pn> .+?) )* \) ) )
36+ ( {{ Space }} +
37+ ( # Microsoft .NET stack traces
38+ \w+ {{ Space }} +
39+ (?<file> ( [a-z] \: # Windows rooted path starting with a drive letter
40+ | / ) # Unix rooted path starting with a forward-slash
41+ .+? )
42+ \: \w+ {{ Space }} +
43+ (?<line> [0-9]+ ) \p{P}?
44+ | # Mono stack traces
45+ \[0x[0-9a-f]+\] {{ Space }} + \w+ {{ Space }} +
46+ <(?<file> [^>]+ )>
47+ :(?<line> [0-9]+ )
48+ )
49+ )?
50+ )
51+ \s*
52+ $
53+ """ ,
5454 RegexOptions . IgnoreCase
5555 | RegexOptions . Multiline
5656 | RegexOptions . ExplicitCapture
You can’t perform that action at this time.
0 commit comments