Regular Expressions 101

Generic Error Regex 1

Open Workspace
  • PCRE2 (PHP)
  • Match
1

Regular Expression

/
(?<![a-zA-Z_-])(?:error|missing|unknown|except|not found|fail|unavailable|issue|problem|fault|code 1|crash)
/
gim

Description

Check for errors in a verbose log.

Submitted by bvoq