Clarification for re.compile method