Skip to content

Commit 45e77bf

Browse files
committed
Fix regular expression escape.
1 parent 405db95 commit 45e77bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/create_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def atoi(text):
3030

3131

3232
def natural_keys(text):
33-
return [atoi(c) for c in re.split('(\d+)', text)]
33+
return [atoi(c) for c in re.split(r'(\d+)', text)]
3434

3535

3636
class Notebook:

0 commit comments

Comments
 (0)