diff --git a/exposures/logs/php-warning.yaml b/exposures/logs/php-warning.yaml index 3c452bdb59..51ee2cd270 100644 --- a/exposures/logs/php-warning.yaml +++ b/exposures/logs/php-warning.yaml @@ -12,11 +12,11 @@ requests: path: - '{{BaseURL}}' - matchers-condition: and + matchers-condition: or matchers: - - type: word - words: - - 'PHP warning' + - type: regex + regex: + - '(?m)^([a-z /A-Z.(0-9):]+)?PHP warning([a-z /A-Z.(0-9):]+)?<\/title>$' - type: status status: