Skip to content

Commit e1e7a4d

Browse files
committed
Revert "fixing invalid escape sequence"
This reverts commit a99c867.
1 parent f37af8a commit e1e7a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/notebook_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def validate(notebook_filename, available_backends):
2929
with open(notebook_filename) as f:
3030
lines = f.readlines()
3131
for notebook_content in lines:
32-
match = re.search('set_target[\\s\\(]+"(.+)\\\\"[)]', notebook_content)
32+
match = re.search('set_target[\\\s\(]+"(.+)\\\\"[)]', notebook_content)
3333
if match and (match.group(1) not in available_backends):
3434
return False
3535
for notebook_content in lines:

0 commit comments

Comments
 (0)