Skip to content

Commit a99c867

Browse files
committed
fixing invalid escape sequence
Signed-off-by: Sachin Pisal <[email protected]>
1 parent 582720e commit a99c867

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)