Skip to content

Commit e180c31

Browse files
committed
fix: invalid regex character escaping
Fixes #1
1 parent 7a3cf0f commit e180c31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/polars_access_mdbtools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import polars as pl
1010

1111

12-
CREATE_TABLE_RE = re.compile("CREATE TABLE \[([^]]+)\]\s+\((.*?\));",
12+
CREATE_TABLE_RE = re.compile(r"CREATE TABLE \[([^]]+)\]\s+\((.*?\));",
1313
re.MULTILINE | re.DOTALL)
1414

1515
DATA_TYPE_DEF_RE = re.compile(r"^\s*\[(?P<column_name>[^\]]+)\]\s*(?P<data_type>[A-Za-z]+[^,]+),?")

0 commit comments

Comments
 (0)