aboutsummaryrefslogtreecommitdiff
path: root/pomu/util
diff options
context:
space:
mode:
Diffstat (limited to 'pomu/util')
-rw-r--r--pomu/util/misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/util/misc.py b/pomu/util/misc.py
index de297af..7cb1781 100644
--- a/pomu/util/misc.py
+++ b/pomu/util/misc.py
@@ -34,7 +34,7 @@ def extract_urls(text):
def parse_range(text, max_num=None):
"""Parses a numeric range (e.g. 1-2,5-16)"""
- text = re.sub('\s*-\s*', '-', text)
+ text = re.sub(r'\s*-\s*', '-', text)
subranges = [x.strip() for x in text.split(',')]
subs = []
maxint = -1