diff --git a/SC2076.md b/SC2076.md index 3e65c63..9b47ece 100644 --- a/SC2076.md +++ b/SC2076.md @@ -20,7 +20,7 @@ This also means that the problematic code tries to match literal carets and plus ### Exceptions: -If you do want to match literally just to do a plain substring search, e.g. `[[ $foo =~ "bar" ]]`, you could ignore this message, but consider using a more canonical glob match instead: `[[ $foo = *"bar"* ]]`. +If you do want to match literally just to do a plain substring search, e.g. `[[ $foo =~ "bar" ]]`, you could ignore this message, but consider using a more canonical glob match instead: `[[ $foo == *"bar"* ]]`. ### Compatibility: