diff --git a/jaydebeapi/__init__.py b/jaydebeapi/__init__.py index a890c3d..67bf06c 100644 --- a/jaydebeapi/__init__.py +++ b/jaydebeapi/__init__.py @@ -185,7 +185,7 @@ def _jdbc_connect_jpype(jclassname, url, driver_args, jars, libs): global old_jpype if hasattr(jpype, '__version__'): try: - ver_match = re.match('\d+\.\d+', jpype.__version__) + ver_match = re.match(r'\d+\.\d+', jpype.__version__) if ver_match: jpype_ver = float(ver_match.group(0)) if jpype_ver < 0.7: