Index: build/android/gyp/javac.py |
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py |
index 45b781584a7198c4daf7b7ab0417f4b8485498e7..a0725cf8ee62722d4289cf163bb634fadb23490d 100755 |
--- a/build/android/gyp/javac.py |
+++ b/build/android/gyp/javac.py |
@@ -18,11 +18,11 @@ import colorama |
def ColorJavacOutput(output): |
- fileline_prefix = '(?P<fileline>(?P<file>[-.\w/\\]+.java):(?P<line>[0-9]+):)' |
+ fileline_prefix = r'(?P<fileline>(?P<file>[-.\w/\\]+.java):(?P<line>[0-9]+):)' |
warning_re = re.compile( |
- fileline_prefix + '(?P<full_message> warning: (?P<message>.*))$') |
+ fileline_prefix + r'(?P<full_message> warning: (?P<message>.*))$') |
error_re = re.compile( |
- fileline_prefix + '(?P<full_message> (?P<message>.*))$') |
+ fileline_prefix + r'(?P<full_message> (?P<message>.*))$') |
marker_re = re.compile(r'\s*(?P<marker>\^)\s*$') |
warning_color = ['full_message', colorama.Fore.YELLOW + colorama.Style.DIM] |