get a list of characters in string `x` matching regex pattern `pattern`,"print(re.findall(pattern, x))"