Add debug mode for re.compile