Regular Expressions 101

Dagger exception parsing

Open Workspace
  • Python
  • Match
0

Regular Expression

r"
(?P<error_msg>.*?)(?:exit\s+code:\s+)(?P<exit_code>\d+).(?:Stdout:)(?P<stdout>.*?)(?:Stderr:)(?P<stderr>.*?)(?:CUSTOM_EOF)
"
gms

Description

Submitted by Anonymous