Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py

changeset 6247
5c677a7f7d51
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
diff -r fe07a9f16f23 -r 5c677a7f7d51 Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py	Fri Apr 13 22:32:32 2018 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py	Sat Apr 14 15:08:24 2018 +0200
@@ -74,12 +74,12 @@
         self.rx_sep1 = QRegExp('\\-+\\s*')
         self.rx_sep2 = QRegExp('=+\\s*')
         self.rx_rev1 = QRegExp(
-            'rev ([0-9]+):  ([^|]*) \| ([^|]*) \| ([0-9]+) .*')
+            r'rev ([0-9]+):  ([^|]*) \| ([^|]*) \| ([0-9]+) .*')
         # "rev" followed by one or more decimals followed by a colon followed
         # anything up to " | " (twice) followed by one or more decimals
         # followed by anything
         self.rx_rev2 = QRegExp(
-            'r([0-9]+) \| ([^|]*) \| ([^|]*) \| ([0-9]+) .*')
+            r'r([0-9]+) \| ([^|]*) \| ([^|]*) \| ([0-9]+) .*')
         # "r" followed by one or more decimals followed by " | " followed
         # anything up to " | " (twice) followed by one or more decimals
         # followed by anything
@@ -664,7 +664,7 @@
                 txt = self.rxEdit.text()
                 if txt.startswith("^"):
                     searchRx = QRegExp(
-                        "^\s*{0}".format(txt[1:]), Qt.CaseInsensitive)
+                        r"^\s*{0}".format(txt[1:]), Qt.CaseInsensitive)
                 else:
                     searchRx = QRegExp(txt, Qt.CaseInsensitive)
             else:

eric ide

mercurial