Use framework Regex() function instead of importing re.