Skip to content

Commit b3a4d1e

Browse files
committed
Fix regex string by turning the character escape sequences into actual regex escape sequences.
1 parent ce69633 commit b3a4d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373

7474
with open('src/quicktions.pyx') as f:
75-
version = re.search("__version__\s*=\s*'([^']+)'", f.read(2048)).group(1)
75+
version = re.search(r"__version__\s*=\s*'([^']+)'", f.read(2048)).group(1)
7676

7777
with open('README.rst') as f:
7878
long_description = ''.join(f.readlines()[3:]).strip()

0 commit comments

Comments
 (0)