diff --git a/matrix/colors.py b/matrix/colors.py index 70ab71b..c00bc0d 100644 --- a/matrix/colors.py +++ b/matrix/colors.py @@ -103,7 +103,7 @@ class Formatted(object): # for the indices to be correct. escaped_masked = re.sub( r"\\[\\*_`]|(?:" + url_regex + ")", - lambda m: "a" * len(m[0]), + lambda m: "a" * len(m.group(0)), line )