diff --git a/.github/python.json b/.github/python.json
index d2f92432..c8ac9cb1 100644
--- a/.github/python.json
+++ b/.github/python.json
@@ -4,7 +4,7 @@
             "owner": "python",
             "pattern": [
                 {
-                    "regexp": "^\s*raise\s(.*)\(\'(.*)\'\)$",
+                    "regexp": "^\\s*raise\\s(.*)\\(\\'(.*)\\'\\)$",
                     "severity": 1,
                     "message": 2
                 }