Skip to content

Commit

Permalink
fix DeprecationWarning: invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
d9pouces authored and waylan committed Jul 25, 2017
1 parent a1c2008 commit 418f58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown/blockprocessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def get_items(self, block):
# Check first item for the start index
if not items and self.TAG == 'ol':
# Detect the integer value of first list item
INTEGER_RE = re.compile('(\d+)')
INTEGER_RE = re.compile(r'(\d+)')
self.STARTSWITH = INTEGER_RE.match(m.group(1)).group()
# Append to the list
items.append(m.group(3))
Expand Down

0 comments on commit 418f58a

Please sign in to comment.