Skip to content

Commit

Permalink
Merge branch 'master' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksihakli authored Jan 7, 2025
2 parents 8040e97 + fb64ba0 commit ae2bc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embed_video/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ class MyBackend(VideoBackend):
"""
Compiled regex (:py:func:`re.compile`) to search code in URL.
Example: ``re.compile(r'myvideo\.com/\?code=(?P<code>\w+)')``
Example: ``re.compile(r'myvideo\\.com/\\?code=(?P<code>\\w+)')``
"""

re_detect = None
"""
Compilede regec (:py:func:`re.compile`) to detect, if input URL is valid
for current backend.
Example: ``re.compile(r'^http://myvideo\.com/.*')``
Example: ``re.compile(r'^http://myvideo\\.com/.*')``
"""

pattern_url = None
Expand Down

0 comments on commit ae2bc92

Please sign in to comment.