third_party: Update waf to version 2.0.17
[samba.git] / third_party / waf / waflib / ansiterm.py
index 0d20c6374b731034f772ad4e1e65752dc1a12b60..027f0ad68a367dcffb0c0144e3b60e027c0a6963 100644 (file)
@@ -264,7 +264,7 @@ else:
                        'u': pop_cursor,
                }
                # Match either the escape sequence or text not containing escape sequence
-               ansi_tokens = re.compile('(?:\x1b\[([0-9?;]*)([a-zA-Z])|([^\x1b]+))')
+               ansi_tokens = re.compile(r'(?:\x1b\[([0-9?;]*)([a-zA-Z])|([^\x1b]+))')
                def write(self, text):
                        try:
                                wlock.acquire()