Index: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py |
index bb003c29a98ad098750ee52a61d76bf2f1032ebc..4fbb6bb2e29d128f6c8fedbadc7be10e649704c2 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py |
@@ -3647,7 +3647,7 @@ def check_for_object_static_cast(processing_file, line_number, line, error): |
if not matched: |
return |
- class_name = re.sub('[\*]', '', matched.group(1)) |
+ class_name = re.sub(r'[\*]', '', matched.group(1)) |
class_name = class_name.strip() |
# Ignore (for now) when the casting is to void*, |
if class_name == 'void': |