Skip to content

Commit

Permalink
Fix invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
abdnh committed Feb 14, 2023
1 parent 2f78325 commit e2a0a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webvtt/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .errors import MalformedCaptionError

TIMESTAMP_PATTERN = re.compile('(\d+)?:?(\d{2}):(\d{2})[.,](\d{3})')
TIMESTAMP_PATTERN = re.compile(r'(\d+)?:?(\d{2}):(\d{2})[.,](\d{3})')

__all__ = ['Caption']

Expand Down

0 comments on commit e2a0a71

Please sign in to comment.