Skip to content

Commit ae2bc92

Browse files
authored
Merge branch 'master' into pre-commit-ci-update-config
2 parents 8040e97 + fb64ba0 commit ae2bc92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

embed_video/backends.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ class MyBackend(VideoBackend):
9595
"""
9696
Compiled regex (:py:func:`re.compile`) to search code in URL.
9797
98-
Example: ``re.compile(r'myvideo\.com/\?code=(?P<code>\w+)')``
98+
Example: ``re.compile(r'myvideo\\.com/\\?code=(?P<code>\\w+)')``
9999
"""
100100

101101
re_detect = None
102102
"""
103103
Compilede regec (:py:func:`re.compile`) to detect, if input URL is valid
104104
for current backend.
105105
106-
Example: ``re.compile(r'^http://myvideo\.com/.*')``
106+
Example: ``re.compile(r'^http://myvideo\\.com/.*')``
107107
"""
108108

109109
pattern_url = None

0 commit comments

Comments
 (0)