Skip to content

Commit eddbe56

Browse files
committed
VSPipeProcessor, RpChecker, IFrameInfoGenerator: update the Regex to parse VS and Python errors
1 parent 1d5885c commit eddbe56

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

OKEGui/OKEGui/JobProcessor/RpChecker/RpChecker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public override void ProcessLine(string line, StreamType stream)
102102
}
103103
else if (isVSError)
104104
{
105-
Regex rExit = new Regex("^([a-zA-Z]*)(Error|Exception|Exit|Interrupt|Iteration|Warning)");
105+
Regex rExit = new Regex(@"^([a-zA-Z_.]*)(Error|Exception|Exit|Interrupt|Iteration|Warning)(.*)");
106106
if (rExit.IsMatch(line))
107107
{
108108
string[] match = rExit.Split(line);

OKEGui/OKEGui/JobProcessor/Video/IFrameInfoGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public override void ProcessLine(string line, StreamType stream)
6464
}
6565
else if (isVSError)
6666
{
67-
Regex rExit = new Regex("^([a-zA-Z]*)(Error|Exception|Exit|Interrupt|Iteration|Warning)");
67+
Regex rExit = new Regex(@"^([a-zA-Z_.]*)(Error|Exception|Exit|Interrupt|Iteration|Warning)(.*)");
6868
if (rExit.IsMatch(line))
6969
{
7070
string[] match = rExit.Split(line);

OKEGui/OKEGui/JobProcessor/Video/VSPipeInfoProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public override void ProcessLine(string line, StreamType stream)
8585
}
8686
else if (isVSError)
8787
{
88-
Regex rExit = new Regex("^([a-zA-Z]*)(Error|Exception|Exit|Interrupt|Iteration|Warning)");
88+
Regex rExit = new Regex(@"^([a-zA-Z_.]*)(Error|Exception|Exit|Interrupt|Iteration|Warning)(.*)");
8989
if (rExit.IsMatch(line))
9090
{
9191
string[] match = rExit.Split(line);

0 commit comments

Comments
 (0)