aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord9pouces <github@19pouces.net>2017-07-25 08:31:29 +0200
committerWaylan Limberg <waylan.limberg@icloud.com>2017-07-25 08:20:21 -0400
commit418f58ab04d786cb189b1419b0de95b0fc9e9667 (patch)
treeb786193eb98d0da11f5967d646ead8ac48066904
parenta1c200899c942a8e37880c2b3c59e02770ade7ac (diff)
downloadmarkdown-418f58ab04d786cb189b1419b0de95b0fc9e9667.tar.gz
markdown-418f58ab04d786cb189b1419b0de95b0fc9e9667.tar.bz2
markdown-418f58ab04d786cb189b1419b0de95b0fc9e9667.zip
fix DeprecationWarning: invalid escape sequence
-rw-r--r--markdown/blockprocessors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/blockprocessors.py b/markdown/blockprocessors.py
index a3ed977..79c7f2e 100644
--- a/markdown/blockprocessors.py
+++ b/markdown/blockprocessors.py
@@ -391,7 +391,7 @@ class OListProcessor(BlockProcessor):
# 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))