From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Tue, 9 Sep 2025 22:20:14 +0200
Subject: Fix Python SyntaxWarning

---
 tools/rosbag/src/rosbag/bag.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/rosbag/src/rosbag/bag.py b/tools/rosbag/src/rosbag/bag.py
index c8dd9bb..c8eb8b8 100644
--- a/tools/rosbag/src/rosbag/bag.py
+++ b/tools/rosbag/src/rosbag/bag.py
@@ -1565,7 +1565,7 @@ class Bag(object):
         if len(version_line) == 0:
             raise ROSBagException('empty file')
         
-        matches = re.match("#ROS(.*) V(\d).(\d)", version_line)
+        matches = re.match(r"#ROS(.*) V(\d).(\d)", version_line)
         if matches is None or len(matches.groups()) != 3:
             raise ROSBagException('This does not appear to be a bag file')
         
