@ypu  in the re.compiler i have assigned re.I, so needn't upper() the command output