docs/test2rst.py
changeset 4801 16c1398b0063
parent 2960 1a4f26eec0af
--- a/docs/test2rst.py	Tue Aug 06 00:16:05 2019 +0200
+++ b/docs/test2rst.py	Tue Aug 06 11:07:16 2019 +0200
@@ -14,10 +14,10 @@
 '''
 
 ignored_patterns = [
-    re.compile('^#if'),
-    re.compile('^#else'),
-    re.compile('^#endif'),
-    re.compile('#rest-ignore$'),
+    re.compile(r'^#if'),
+    re.compile(r'^#else'),
+    re.compile(r'^#endif'),
+    re.compile(r'#rest-ignore$'),
 ]