Skip to content

Commit

Permalink
Merge pull request #50 from abdnh/invalid-escape
Browse files Browse the repository at this point in the history
Fix invalid escape sequence
  • Loading branch information
glut23 authored Apr 9, 2024
2 parents 2f78325 + e2a0a71 commit 87411cf
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 87411cf

Please sign in to comment.