python: regular expression search pattern for binary files (half a byte),pattern = re.compile('[@-O]')