import re EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')