Is there a cleaner way to write long regex patterns in python? I saw this approach somewhere but regex in python doesn\'t allow lists.
patterns = [ re.co
Though @Ayman's suggestion about re.VERBOSE is a better idea, if all you want is what you're showing, just do:
re.VERBOSE
patterns = re.compile( r' 热议问题