PowerShell - Regular Expressions
Which of the following is the correct way to use the
-match operator to check if the variable $message contains the substring "error"?