I am trying to use a verbose regular expression in Python (2.7). If it matters I am just trying to make it easier to go back and more clearly understand the expression some
As say in the comment you should escape your backslash or use raw string even with triple quote.
verbose_item_pattern = re.compile(r""" ...