import re FILE_DIRECTORY = 'files/' REGEX_TAGS = re.compile(r'^[\w\s\d\']+$', re.UNICODE) REGEX_REPLY = re.compile(r'\[post\](\d+)\[/post\]')