Commit d12c2af6 authored by ale's avatar ale

fix typo

parent 422408de
......@@ -13,7 +13,7 @@ class Pattern(object):
self.groups = []
def _rs(match):
self.groups.append(match.group(1).lower())
pattern = self.group(2) or '.+'
pattern = match.group(2) or '.+'
return '(%s)' % pattern
self.regex = re.compile(self._tag_pattern.sub(_rs, s))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment